Files
Paul Moore 4512c448f5 selinux: improve error checking in sel_write_load()
[ Upstream commit 42c7732380 ]

Move our existing input sanity checking to the top of sel_write_load()
and add a check to ensure the buffer size is non-zero.

Move a local variable initialization from the declaration to before it
is used.

Minor style adjustments.

Reported-by: Sam Sun <samsun1006219@gmail.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@igalia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-01 01:58:33 +01:00
..
2023-05-08 16:44:01 -04:00
2023-07-18 18:42:57 -04:00