mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
cifs: fix CIFS_ENUMERATE_SNAPSHOTS oops
commit6026685de3upstream. As with618763958b, an open directory may have a NULL private_data pointer prior to readdir. CIFS_ENUMERATE_SNAPSHOTS must check for this before dereference. Fixes:834170c859("Enable previous version support") Signed-off-by: David Disseldorp <ddiss@suse.de> Signed-off-by: Steve French <smfrench@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
449a74439d
commit
411346640c
1 changed files with 2 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue