Commit f7c84843 authored by Mike Marshall's avatar Mike Marshall
Browse files

orangefs: fix a oob in orangefs_debug_write



I got a syzbot report: slab-out-of-bounds Read in
orangefs_debug_write... several people suggested fixes,
I tested Al Viro's suggestion and made this patch.

Signed-off-by: default avatarMike Marshall <hubcap@omnibond.com>
Reported-by: default avatar <syzbot+fc519d7875f2d9186c1f@syzkaller.appspotmail.com>
parent 9d895519
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment