diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-01-28 12:06:46 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-01-28 10:28:15 +0100 |
commit | 15b6b804b6e43297d9c05306554a39d8891966f9 (patch) | |
tree | c031cb256936cdc5f4f072150489ac7244ccda6d /include/drm/drmP.h | |
parent | 09859d2a3c2090ae2452cbf1c8fdde30ba38d934 (diff) |
drm/vmwgfx: fix a NULL dereference
We dereference "eaction->event" inside the call to drm_send_event_locked()
so should hold off on setting it to NULL until afterward.
Fixes: fb740cf2492c ("drm: Create drm_send_event helpers")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20160128090646.GA5824@mwanda
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/drm/drmP.h')
0 files changed, 0 insertions, 0 deletions