diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-12-16 19:21:36 +0300 |
---|---|---|
committer | Patrik Jakobsson <patrik.r.jakobsson@gmail.com> | 2019-12-19 17:33:40 +0300 |
commit | 7da5492739db745d935a7044288a7307a0fb7f29 (patch) | |
tree | 4524d43aad2223bf1baa69f8ec78e0e642d8da8c /Documentation | |
parent | 24f03be4aa7922ef5c6067d2809c5d90dfe275c9 (diff) | |
download | linux-7da5492739db745d935a7044288a7307a0fb7f29.tar.xz |
drm/gma500: fix null dereference of pointer fb before null check
Pointer fb is being dereferenced when assigning dev before it
is null checked. Fix this by only dereferencing dev after the
null check.
Fixes: 6b7ce2c4161a ("drm/gma500: Remove struct psb_fbdev")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191216162136.270114-1-colin.king@canonical.com
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions