mirror of
https://github.com/ipmitool/ipmitool.git
synced 2026-06-24 14:21:36 +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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user