diff options
author | Aditya Pakki <[email protected]> | 2019-04-01 17:46:57 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <[email protected]> | 2019-04-01 17:46:57 +0200 |
commit | 31fa6e2ae65feed0de10823c5d1eea21a93086c9 (patch) | |
tree | ac5fae2abc5443664c42fb59b3ab8f77272ca6fc /scripts/gdb/linux/proc.py | |
parent | 17de805aa69e594785592f08ea08c85602432bb9 (diff) |
omapfb: Fix potential NULL pointer dereference in kmalloc
Memory allocated, using kmalloc, for new_compat may fail. This patch
checks for such an error and prevents potential NULL pointer
dereference.
Signed-off-by: Aditya Pakki <[email protected]>
Cc: Kangjie Lu <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions