forked from pool/ipmitool
576167f497
Copy from systemsmanagement:wbem/ipmitool based on submit request 34171 from user coolo OBS-URL: https://build.opensuse.org/request/show/34171 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ipmitool?expand=0&rev=10
23 lines
567 B
Diff
23 lines
567 B
Diff
Fix unclosed file handle in ipmi_sdradd.c
|
|
|
|
References:
|
|
https://bugzilla.novell.com/show_bug.cgi?id=534909
|
|
|
|
Signed-off-by: Thomas Renninger <trenn@suse.de>
|
|
---
|
|
lib/ipmi_sdradd.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
Index: ipmitool-1.8.11/lib/ipmi_sdradd.c
|
|
===================================================================
|
|
--- ipmitool-1.8.11.orig/lib/ipmi_sdradd.c
|
|
+++ ipmitool-1.8.11/lib/ipmi_sdradd.c
|
|
@@ -380,6 +380,7 @@ ipmi_sdr_read_records(const char *filena
|
|
queue->tail->next = sdrr;
|
|
queue->tail = sdrr;
|
|
}
|
|
+ close(fd);
|
|
return rc;
|
|
}
|
|
|