SHA256
1
0
forked from pool/ipmitool
ipmitool/lan_fix_return_value.patch

12 lines
296 B
Diff
Raw Normal View History

--- ipmitool-1.8.11/src/plugins/lan/lan.c 2010/03/04 00:55:42 1.1
+++ ipmitool-1.8.11/src/plugins/lan/lan.c 2010/03/04 00:56:39
@@ -1071,7 +1071,7 @@
msg = malloc(len);
if (msg == NULL) {
lprintf(LOG_ERR, "ipmitool: malloc failure");
- return;
+ return msg;
}
memset(msg, 0, len);