mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 10:37:22 +00:00
Commit changes evaluation order of 'oemtype' which is an input parameter to ipmi_oem_setup() in 'lib/ipmi_oem.c'. Make the check whether 'oemtype' is NULL or not one of the first things we do rather than blindly use 'oemtype' in strncmp() and then check if it isn't NULL. Yes, this is a potential crash waiting to happen. Reported-by: Ales Ledvinka
Description
An open-source tool for controlling IPMI-enabled systems
5 MiB
Languages
C
95.7%
Shell
2%
Makefile
1.3%
M4
1%