|
Bugzilla – Full Text Bug Listing |
| Summary: | OpenIPMI-1.4.26-2: array subscript out of range | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | David Binderman <dcb314> |
| Component: | Basesystem | Assignee: | Torsten Duwe <duwe> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | SuSE Linux 10.1 | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
Feel free to close as duplicate of Bug #235591. The array is only filled with 13 bytes, so the access is likely off by one. Fixed in our 2.0.13 package. |
I just tried to compile package OpenIPMI-1.4.26-2 with the Intel C compiler. It said oem_atca.c(3368): warning #175: subscript out of range The source code is if (data[13] != 0) { but unsigned char data[13]; I agree with the compiler. Suggest make array one element bigger.