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:
d5e660b
)
[IA64] hpsim: Fix check for overlong simscsi prefix.
author
Chen Gang
<gang.chen@asianux.com>
Thu, 30 May 2013 02:35:34 +0000
(10:35 +0800)
committer
Tony Luck
<tony.luck@intel.com>
Mon, 3 Jun 2013 23:09:43 +0000
(16:09 -0700)
When "strlen(s) > MAX_ROOT_LEN", it has already said to use the default
value, but in fact, it still use the input value.
If happens, next sprintf() for 'fname' in simscsi_queuecommand_lck()
may be memory overflow.
Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
No differences found