diff options
author | Mark Yao <mark.yao@rock-chips.com> | 2016-06-26 21:49:21 -0400 |
---|---|---|
committer | Chih-Wei Huang <cwhuang@linux.org.tw> | 2016-07-06 11:42:52 +0800 |
commit | a9d0cbf474511070c13990b1a1ba7a22bba62b8e (patch) | |
tree | 219441540ad848bab090174621036e0a59e00aa8 /gralloc_drm_handle.h | |
parent | 27d5b5a271f7ec71444030e5f15799993244645d (diff) | |
download | external_drm_gralloc-a9d0cbf474511070c13990b1a1ba7a22bba62b8e.zip external_drm_gralloc-a9d0cbf474511070c13990b1a1ba7a22bba62b8e.tar.gz external_drm_gralloc-a9d0cbf474511070c13990b1a1ba7a22bba62b8e.tar.bz2 |
drm_gralloc: fix random crash with wildpointer
two drm handle may use same bo, but there is no
reference protect. if one of the drm handle release
the bo, another handle's bo become a wildpointer,
any read/write on the wildpointer will cause system
unstable, crash.
Change-Id: Ieaca522e3372dba82c48961499b9b657ca33cd15
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
Diffstat (limited to 'gralloc_drm_handle.h')
0 files changed, 0 insertions, 0 deletions