mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
Fix stack overflow in delloem setled
From: Jan Safranek <jsafrane@redhat.com> The buffer should be bigger to hold the 10 character, which are set later in the function.
This commit is contained in:
parent
79fdc68950
commit
4b058899a2
@ -4861,7 +4861,7 @@ CheckSetLEDSupport(struct ipmi_intf * intf)
|
|||||||
{
|
{
|
||||||
struct ipmi_rs * rsp = NULL;
|
struct ipmi_rs * rsp = NULL;
|
||||||
struct ipmi_rq req = {0};
|
struct ipmi_rq req = {0};
|
||||||
uint8_t data[4];
|
uint8_t data[10];
|
||||||
|
|
||||||
SetLEDSupported = 0;
|
SetLEDSupported = 0;
|
||||||
req.msg.netfn = DELL_OEM_NETFN;
|
req.msg.netfn = DELL_OEM_NETFN;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user