Menu

#484 segfault on empty string when setting user name

version-1.8.18
open
nobody
None
5
2017-05-08
2017-05-08
No

Hello,

I forward this bug from Debian[1]:

Dear Maintainer,

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.

Regards,
David Sinquin

The valgrind output is attached.

CU
Jörg

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=862099

1 Attachments

Discussion


Log in to post a comment.