diff options
author | Kees Cook <keescook@chromium.org> | 2016-11-16 03:29:40 +0300 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2016-11-16 03:34:32 +0300 |
commit | fc46d4e453f50d2b376267f180cae250b54f9fb4 (patch) | |
tree | 2c300b1bb28fe0aba34a6b0b0c2ab1fed8e2b3d5 /net | |
parent | 70ad35db3321a6d129245979de4ac9d06eed897c (diff) | |
download | linux-fc46d4e453f50d2b376267f180cae250b54f9fb4.tar.xz |
ramoops: add pdata NULL check to ramoops_probe
This adds a check for a NULL platform data, which should only be possible
if a driver incorrectly sets up a probe request without also having defined
the platform_data structure. This is based on a patch from Geliang Tang.
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions