[openEuler-5.10 095/496] selinux: Add boundary check in put_entry()