* [Bug 13438] New: found overlapping data buffer
@ 2009-06-03 14:20 bugzilla-daemon
2009-06-05 14:00 ` [Bug 13438] " bugzilla-daemon
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: bugzilla-daemon @ 2009-06-03 14:20 UTC (permalink / raw)
To: linux-scsi
http://bugzilla.kernel.org/show_bug.cgi?id=13438
Summary: found overlapping data buffer
Product: SCSI Drivers
Version: 2.5
Kernel Version: 2.6.29.3
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: QLOGIC QLA2XXX
AssignedTo: scsi_drivers-qla2xxx@kernel-bugs.osdl.org
ReportedBy: ettl.martin@gmx.de
Regression: No
Hello,
i detected an overlapping data buffer at file
"[linux-2.6.29.3/drivers/scsi/qla2xxx/qla_attr.c"
For detection, i used the static code analysis tool cppcheck. It prints the
following message:
[linux-2.6.29.3/drivers/scsi/qla2xxx/qla_attr.c:545]: (error) Overlapping data
buffer buf
Take a loop at file qla_attr.c at line 545:
return snprintf(buf, PAGE_SIZE, "%s\n", buf);
Here, buf is used by iteself, this is dangerous!!!!
Best regards
Ettl Martin
--
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread* [Bug 13438] found overlapping data buffer 2009-06-03 14:20 [Bug 13438] New: found overlapping data buffer bugzilla-daemon @ 2009-06-05 14:00 ` bugzilla-daemon 2009-06-05 14:00 ` bugzilla-daemon ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: bugzilla-daemon @ 2009-06-05 14:00 UTC (permalink / raw) To: linux-scsi http://bugzilla.kernel.org/show_bug.cgi?id=13438 Alan <alan@lxorguk.ukuu.org.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |alan@lxorguk.ukuu.org.uk Resolution| |PATCH_ALREADY_AVAILABLE -- Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 13438] found overlapping data buffer 2009-06-03 14:20 [Bug 13438] New: found overlapping data buffer bugzilla-daemon 2009-06-05 14:00 ` [Bug 13438] " bugzilla-daemon @ 2009-06-05 14:00 ` bugzilla-daemon 2009-06-18 4:49 ` bugzilla-daemon ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: bugzilla-daemon @ 2009-06-05 14:00 UTC (permalink / raw) To: linux-scsi http://bugzilla.kernel.org/show_bug.cgi?id=13438 Alan <alan@lxorguk.ukuu.org.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED -- Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 13438] found overlapping data buffer 2009-06-03 14:20 [Bug 13438] New: found overlapping data buffer bugzilla-daemon 2009-06-05 14:00 ` [Bug 13438] " bugzilla-daemon 2009-06-05 14:00 ` bugzilla-daemon @ 2009-06-18 4:49 ` bugzilla-daemon 2009-06-18 7:59 ` bugzilla-daemon 2009-06-18 8:57 ` bugzilla-daemon 4 siblings, 0 replies; 6+ messages in thread From: bugzilla-daemon @ 2009-06-18 4:49 UTC (permalink / raw) To: linux-scsi http://bugzilla.kernel.org/show_bug.cgi?id=13438 Marc Bejarano <bugzilla.kernel.org@beej.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla.kernel.org@beej.or | |g --- Comment #1 from Marc Bejarano <bugzilla.kernel.org@beej.org> 2009-06-18 04:49:18 --- patch: http://permalink.gmane.org/gmane.linux.scsi/51819 Status: CLOSED PATCH_ALREADY_AVAILABLE hardly seems fair since the patch was posted after the report, no? -- Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 13438] found overlapping data buffer 2009-06-03 14:20 [Bug 13438] New: found overlapping data buffer bugzilla-daemon ` (2 preceding siblings ...) 2009-06-18 4:49 ` bugzilla-daemon @ 2009-06-18 7:59 ` bugzilla-daemon 2009-06-18 8:57 ` bugzilla-daemon 4 siblings, 0 replies; 6+ messages in thread From: bugzilla-daemon @ 2009-06-18 7:59 UTC (permalink / raw) To: linux-scsi http://bugzilla.kernel.org/show_bug.cgi?id=13438 --- Comment #2 from Martin Ettl <ettl.martin@gmx.de> 2009-06-18 07:59:02 --- Yes, life is not fair :-( -- Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 13438] found overlapping data buffer 2009-06-03 14:20 [Bug 13438] New: found overlapping data buffer bugzilla-daemon ` (3 preceding siblings ...) 2009-06-18 7:59 ` bugzilla-daemon @ 2009-06-18 8:57 ` bugzilla-daemon 4 siblings, 0 replies; 6+ messages in thread From: bugzilla-daemon @ 2009-06-18 8:57 UTC (permalink / raw) To: linux-scsi http://bugzilla.kernel.org/show_bug.cgi?id=13438 Alan <alan@lxorguk.ukuu.org.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|PATCH_ALREADY_AVAILABLE |CODE_FIX -- Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-06-18 8:57 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-06-03 14:20 [Bug 13438] New: found overlapping data buffer bugzilla-daemon 2009-06-05 14:00 ` [Bug 13438] " bugzilla-daemon 2009-06-05 14:00 ` bugzilla-daemon 2009-06-18 4:49 ` bugzilla-daemon 2009-06-18 7:59 ` bugzilla-daemon 2009-06-18 8:57 ` bugzilla-daemon
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).