openhpi2 / Open-HPI

Open HPI is an open source implementation of the SA Forum's Hardware Platform Interface (HPI). HPI provides an abstracted interface to managing computer hardware, typically for chassis and rack based servers
Other
3 stars 1 forks source link

Array bound exceeded by one #2613

Closed openhpi2 closed 8 years ago

openhpi2 commented 8 years ago

The oa_soap plugin has two variables memErrFlag[16] and memErrRecFlag[16] which are exceeded when the blade at 16 generates a memory error. Bay number needs to be reduced by 1 before used as an index in the array.

Reported by: dr_mohan

openhpi2 commented 8 years ago

Original comment by: dr_mohan

openhpi2 commented 8 years ago

Fixed with checkin #7665

Original comment by: dr_mohan