Bugzilla – Bug 156215
OpenIPMI-1.4.26-2: array subscript out of range
Last modified: 2008-01-16 15:45:48 UTC
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.
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.