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:
9bb24a7
)
[media] dib9000: implement error handling for DibAcquireLock
author
Alexey Khoroshilov
<khoroshilov@ispras.ru>
Tue, 6 Mar 2012 20:08:29 +0000
(17:08 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Mon, 19 Mar 2012 17:36:24 +0000
(14:36 -0300)
DibAcquireLock() is implemented as mutex_lock_interruptible()
but the driver does not handle unsuccessful locking.
As a result it may lead to unlock of an unheld mutex.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
No differences found