Skip to content
Snippets Groups Projects
Commit 4fdcfab5 authored by Al Viro's avatar Al Viro
Browse files

jffs2: fix use-after-free on symlink traversal


free the symlink body after the same RCU delay we have for freeing the
struct inode itself, so that traversal during RCU pathwalk wouldn't step
into freed memory.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 9e98c678
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment