Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fscache_cookie_enabled: check cookie is valid before accessing it
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 <[email protected]> Acked-by: David Howells <[email protected]> Signed-off-by: Dominique Martinet <[email protected]>
- Loading branch information