OBS User unknown
2008-09-13 00:28:41 +00:00
committed by Git OBS Bridge
parent 8645c6b961
commit bba110465c
7 changed files with 37 additions and 146 deletions

View File

@@ -1,11 +1,11 @@
--- ipmitool-1.8.9/lib/ipmi_fru.c.orig 2007-03-06 23:15:36.000000000 +0100
+++ ipmitool-1.8.9/lib/ipmi_fru.c 2007-03-08 13:02:42.000000000 +0100
@@ -1671,7 +1671,7 @@ ipmi_fru_edit_multirec(struct ipmi_intf
fru_data = malloc(fru.size + 1);
if (fru_data == NULL) {
lprintf(LOG_ERR, " Out of memory!");
- return;
+ return -1;
}
memset(fru_data, 0, fru.size + 1);
--- ipmitool-1.8.10/lib/ipmi_fru.c.orig 2008-06-10 23:40:47.000000000 +0200
+++ ipmitool-1.8.10/lib/ipmi_fru.c 2008-09-12 16:34:18.000000000 +0200
@@ -2353,7 +2353,7 @@ ipmi_fru_edit_multirec(struct ipmi_intf
fru_data = malloc(fru.size + 1);
if (fru_data == NULL) {
lprintf(LOG_ERR, " Out of memory!");
- return;
+ return -1;
}
memset(fru_data, 0, fru.size + 1);