Mailinglist Archive: opensuse-bugs (8080 mails)

< Previous Next >
[Bug 238658] openhpi-2.6.3-4: array subscript is above array bounds
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 1 Feb 2007 05:40:29 -0700 (MST)
  • Message-id: <20070201124029.A6D3525C887@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=238658


vadim.a.revyakin@xxxxxxxxx changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |vadim.a.revyakin@xxxxxxxxx
Status|NEW |RESOLVED
Resolution| |FIXED




------- Comment #2 from vadim.a.revyakin@xxxxxxxxx 2007-02-01 05:40 MST -------

This patch shoul fix the problem:

--- plugins/ipmi/ipmi_inventory.c (revision 6396)
+++ plugins/ipmi/ipmi_inventory.c (revision 6397)
@@ -321,7 +321,7 @@
struct ohoi_fru_layout {
unsigned int len;
unsigned int free_len;
- struct ohoi_area_layout areas[IPMI_FRU_FTR_NUMBER - 1];
+ struct ohoi_area_layout areas[IPMI_FRU_FTR_NUMBER];
};


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

< Previous Next >
This Thread
  • No further messages