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:
fa52d96
)
staging: dgnc: don't forget to check if ->channels[i] is NULL in dgnc_tty_uninit()
author
Giedrius Statkevičius
<giedrius.statkevicius@gmail.com>
Thu, 9 Apr 2015 23:42:30 +0000
(
02:42
+0300)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 8 May 2015 07:24:00 +0000
(09:24 +0200)
Add a check if ->channels[i] is NULL because a NULL pointer may be dereferenced
in case one of the allocations failed
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found