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:
0481dcc
)
Staging:vt6656: Replace some kzalloc calls with kcalloc in iwctl.c
author
Iulia Manda
<iulia.manda21@gmail.com>
Sat, 8 Mar 2014 16:05:36 +0000
(18:05 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sun, 9 Mar 2014 04:31:53 +0000
(20:31 -0800)
This replacement is justified by the fact that kcalloc could prevent integer
overflow resulted from the multiplications used in kzalloc.
The semantic patch that showed this suggestion is kzalloc.cocci
Signed-off-by: Iulia Manda <iulia.manda21@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/iwctl.c
patch
|
blob
|
history
diff --cc
drivers/staging/vt6656/iwctl.c
Simple merge