This is the mail archive of the
ecos-bugs@sourceware.org
mailing list for the eCos project.
[Bug 1000226] New: Off-by-one error in iomem.c
- From: bugzilla-daemon at ecoscentric dot com
- To: ecos-bugs at sources dot redhat dot com
- Date: Mon, 17 Oct 2005 21:54:09 +0100 (BST)
- Subject: [Bug 1000226] New: Off-by-one error in iomem.c
http://bugzilla.ecoscentric.com/show_bug.cgi?id=1000226
Summary: Off-by-one error in iomem.c
Product: eCos
Version: CVS
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: normal
Component: RedBoot
AssignedTo: gary@mlbassoc.com
ReportedBy: tiktin@advancedrelay.com
QAContact: ecos-bugs@sources.redhat.com
Line 142 of packages/redboot/current/src/iomem.c contains an off-b-by-one error:
- if (!scan_opts(argc, argv, 1, opts, 5, 0, 0, "")) {
+ if (!scan_opts(argc, argv, 1, opts, 4, 0, 0, "")) {
The opts array has only 4 members. This code causes stack corruption when the
iopeek RedBoot command is executed.
--
Configure bugmail: http://bugzilla.ecoscentric.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.