aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorSteven Rostedt (Google) <[email protected]>2023-10-19 20:41:32 -0400
committerSteven Rostedt (Google) <[email protected]>2023-10-20 10:04:01 -0400
commit7e8ad67c9b5c11e990c320ed7e7563f2301672a7 (patch)
tree2e50d115c26d74b05b72d69a920b829342071c05 /lib/test_fortify/write_overflow-strncpy-src.c
parentb8a555dc31e5aa18d976de0bc228006e398a2e7d (diff)
eventfs: Fix failure path in eventfs_create_events_dir()
The failure path of allocating ei goes to a path that dereferences ei. Add another label that skips over the ei dereferences to do the rest of the clean up. Link: https://lore.kernel.org/all/[email protected]/ Link: https://lore.kernel.org/linux-trace-kernel/[email protected] Cc: Masami Hiramatsu <[email protected]> Cc: Mark Rutland <[email protected]> Fixes: 5790b1fb3d67 ("eventfs: Remove eventfs_file and just use eventfs_inode") Reported-by: Julia Lawall <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions