git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e76116c
)
drm: use after free in drm_queue_vblank_event()
author
Dan Carpenter
<error27@gmail.com>
Thu, 9 Dec 2010 05:35:40 +0000
(08:35 +0300)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 9 Dec 2010 07:27:25 +0000
(17:27 +1000)
The "e" pointer is either NULL or freed when we call
drm_vblank_put(dev, e->pipe) on the error path. Just pass the "pipe"
variable directly instead.
I changed another caller to use "pipe" as well for consistency.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
No differences found