[openEuler-5.10-LTS 096/501] selinux: Add boundary check in put_entry()