2011-09-14 14:03:11 +02:00
|
|
|
Index: ipmitool-1.8.11/src/plugins/lan/lan.c
|
|
|
|
===================================================================
|
|
|
|
--- ipmitool-1.8.11.orig/src/plugins/lan/lan.c
|
|
|
|
+++ ipmitool-1.8.11/src/plugins/lan/lan.c
|
|
|
|
@@ -1071,7 +1071,7 @@ uint8_t * ipmi_lan_build_sol_msg(struct
|
2010-03-05 16:31:33 +01:00
|
|
|
msg = malloc(len);
|
|
|
|
if (msg == NULL) {
|
|
|
|
lprintf(LOG_ERR, "ipmitool: malloc failure");
|
|
|
|
- return;
|
|
|
|
+ return msg;
|
|
|
|
}
|
|
|
|
memset(msg, 0, len);
|
|
|
|
|
2011-09-14 14:03:11 +02:00
|
|
|
Index: ipmitool-1.8.11/src/plugins/lanplus/lanplus.c
|
|
|
|
===================================================================
|
|
|
|
--- ipmitool-1.8.11.orig/src/plugins/lanplus/lanplus.c
|
|
|
|
+++ ipmitool-1.8.11/src/plugins/lanplus/lanplus.c
|
|
|
|
@@ -734,7 +734,7 @@ ipmi_lan_poll_recv(struct ipmi_intf * in
|
|
|
|
ipmi_req_remove_entry(rsp->payload.ipmi_response.rq_seq,
|
|
|
|
rsp->payload.ipmi_response.cmd);
|
|
|
|
ipmi_lan_poll_recv(intf);
|
|
|
|
- return;
|
|
|
|
+ return NULL;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|