when trying to set an empty user name through ipmitool shell, ipmitool
segfaults. I am not completly sure an empty string should be considered
valid but it should probably not result in a segfault :-)
The bug seems reproductible at will.
Steps to reproduce:
% ipmitool -I lanplus -H server -U user -P pass shell
ipmitool> user set name 3 ""
zsh: segmentation fault ipmitool -I lanplus -H server -U user -P pass shell
Valgrind reports an invalid read of size 1 before the segfault, see
attached file for full valgrind outuput.
Reported by: Jörg Frings-Fürst Original Ticket: ipmitool/bugs/484
Hello,
I forward this bug from Debian[1]:
The valgrind output is attached.
CU Jörg
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=862099