diff options
| author | Venkateswara Rao Tadikonda <vtadik@codeaurora.org> | 2017-12-12 19:37:27 +0530 |
|---|---|---|
| committer | Venkateswara Rao Tadikonda <vtadik@codeaurora.org> | 2017-12-14 11:47:46 +0530 |
| commit | cd2f67b4b305f87252cc29ed60596a9b0ed335a9 (patch) | |
| tree | 44c3896396d15d8151039879cf5260e86c7db8a2 /lib/mpi/mpi-internal.h | |
| parent | e90990f5b1edc09520fffcf46df51ef7b194023a (diff) | |
drm/mm: Fix NULL pointer dereference in allocator
While searching for first hole (get_first_hole) and next free hole
(get_next_hole) from rbtree, rb_first() and rb_next() functions may
return NULL pointer. A NULL pointer check can avoid the NULL pointer
dereference.
Change-Id: I21c918fff3ae995a9d8b2201030401d80ed1fd9e
Signed-off-by: Venkateswara Rao Tadikonda <vtadik@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions
