diff options
| author | Chen Gang <[email protected]> | 2013-05-30 02:35:34 +0000 |
|---|---|---|
| committer | Tony Luck <[email protected]> | 2013-06-03 23:09:43 +0000 |
| commit | 69cbc0464d87bfa38c0a4fe4d8bb751c1ec8cedf (patch) | |
| tree | 7cffd82b2cc5f9429255df6785e5b890da8ba617 /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | [IA64] pci: Remove unused fallback_dev (diff) | |
| download | kernel-69cbc0464d87bfa38c0a4fe4d8bb751c1ec8cedf.tar.gz kernel-69cbc0464d87bfa38c0a4fe4d8bb751c1ec8cedf.zip | |
[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 <[email protected]>
Signed-off-by: Tony Luck <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
