The buffer should be bigger to hold the 10 character, which are set later
in the function.

Signed-off-by: Jan Safranek <jsafr...@redhat.com>
---

 lib/ipmi_delloem.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/ipmi_delloem.c b/lib/ipmi_delloem.c
index e9e17a0..9ecf427 100644
--- a/lib/ipmi_delloem.c
+++ b/lib/ipmi_delloem.c
@@ -4861,7 +4861,7 @@ CheckSetLEDSupport(struct ipmi_intf * intf)
 {
     struct ipmi_rs * rsp = NULL;
     struct ipmi_rq req = {0};
-    uint8_t data[4];
+    uint8_t data[10];
 
     SetLEDSupported = 0;
     req.msg.netfn = DELL_OEM_NETFN;


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to