Files
linux/include
Dominique Martinet ef3047fca1 fscache_cookie_enabled: check cookie is valid before accessing it
commit 0dc54bd4d6 upstream.

fscache_cookie_enabled() could be called on NULL cookies and cause a
null pointer dereference when accessing cookie flags: just make sure
the cookie is valid first

Suggested-by: David Howells <dhowells@redhat.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Cc: Jeffrey E Altman <jaltman@auristor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-01-11 15:35:11 +01:00
..
2021-10-07 19:18:19 +02:00
2021-09-20 12:43:34 +01:00
2022-01-05 12:42:35 +01:00