Skip to content
Commit 0c33037c authored by Amir Goldstein's avatar Amir Goldstein Committed by Linus Torvalds
Browse files

ovl: fix file leak in ovl_real_fdget_meta()



ovl_open_realfile() is wrongly called twice after conversion to
new struct fd.

Fixes: 88a2f646 ("struct fd: representation change")
Reported-by: default avatar <syzbot+d9efec94dcbfa0de1c07@syzkaller.appspotmail.com>
Signed-off-by: default avatarAmir Goldstein <amir73il@gmail.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 34e1a5d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment