Description of problem: In the ipmitool utility, ipmi_pef.c has a type conversion bug when reading the timestamp. The timestamp is a 32-bit value, but on 64-bit systems it is misread as a 64-bit value. This can potentially cause a segfault when passed to localtime/strftime. In the ipmitool utility, ipmi_pef.c has a type conversion bug when reading the timestamp. The timestamp is a 32-bit value, but on 64-bit systems it is misread as a 64-bit value. This can potentially cause a segfault when passed to localtime/strftime. Version-Release number of selected component (if applicable): OpenIPMI-tools-1.4.14-1.4E.12.x86_64.rpm How reproducible: Always Steps to Reproduce: 1. Install OpenIPMI & OpenIPMI-tools RPMS on a x86_64 system 2. Run 'ipmitool -v pef status' Actual results: Utility may either crash, or display invalid date. Expected results: System displays correct timestamp. Additional info: IssueTracker:#93254
Created attachment 128760 [details] Patch for ipmi_pef to fix type conversion bug
Included in latest rawhide package. Thanks for the fix, please submit this fix upstream as well. Read ya, Phil