mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
This patch fixes an infinite loop that was observed with a BMC that has an empty SDR.
- Dan Aloni
This commit is contained in:
parent
86c4e40277
commit
e8ad5be7fb
@ -654,6 +654,9 @@ ipmi_sdr_get_header(struct ipmi_intf *intf, struct ipmi_sdr_iterator *itr)
|
||||
}
|
||||
}
|
||||
|
||||
if (try == 5)
|
||||
return NULL;
|
||||
|
||||
if (!rsp)
|
||||
return NULL;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user