Files
linux/samples/landlock
Zichen Xie 078bf9438a samples/landlock: Fix possible NULL dereference in parse_path()
malloc() may return NULL, leading to NULL dereference.  Add a NULL
check.

Fixes: ba84b0bf5a ("samples/landlock: Add a sandbox manager example")
Signed-off-by: Zichen Xie <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[mic: Simplify fix]
Signed-off-by: Mickaël Salaün <[email protected]>
2025-01-10 12:12:40 +01:00
..
…