diff options
| author | Gustavo A. R. Silva <[email protected]> | 2017-12-05 11:46:28 -0600 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2017-12-06 21:45:28 +0100 |
| commit | 89f3f35620c7f244880485de11079cb4d98ed604 (patch) | |
| tree | 266b625bfd7d9371a0022c944b3800e7dba5f783 /drivers/usb/cdns3/cdns3-debug.h | |
| parent | ec17f0341d6a2c8b8a036999e9fd735a1a6888f4 (diff) | |
drm/fb-helper: Fix potential NULL pointer dereference
fb_helper is being dereferenced before it is null checked,
hence there is a potential null pointer dereference.
Fix this by moving the pointer dereference after fb_helper
has been null checked.
This issue was detected with the help of Coccinelle.
Fixes: c777990fb45b ("drm/fb-helper: Handle function NULL argument")
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions