openhpi2 / Open-HPI

Open HPI is an open source implementation of the SA Forum's Hardware Platform Interface (HPI). HPI provides an abstracted interface to managing computer hardware, typically for chassis and rack based servers
Other
3 stars 1 forks source link

hpithres segfaults on EOF #2600

Closed openhpi2 closed 8 years ago

openhpi2 commented 8 years ago

To reproduce:

$ hpithres

==> Segmentation fault (core dumped) or $ echo "rdr" | hpithres Patch attached Attachments: [hpithres_check_eof.patch.txt](https://github.com/openhpi2/Open-HPI/files/539112/hpithres_check_eof.patch.txt) Reported by: rdossant
openhpi2 commented 8 years ago

Original comment by: dr_mohan

openhpi2 commented 8 years ago

Fixed with checkin #7659

Original comment by: dr_mohan

openhpi2 commented 8 years ago

Original comment by: dr_mohan