Chen Gang 69cbc0464d [IA64] hpsim: Fix check for overlong simscsi prefix.
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>
2013-06-03 16:09:43 -07:00
..
2012-03-28 18:30:02 +01:00
2011-03-31 11:26:23 -03:00
2013-04-29 15:54:35 -07:00
2013-05-05 00:09:04 -04:00
2011-03-17 14:02:56 +01:00
2013-05-09 09:59:16 -07:00