mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 10:37:22 +00:00
zero initialize the recv structure on the stack
Zero initialize the recv structure used by openipmi_read().
This commit is contained in:
parent
a24a512bdd
commit
5ac7f6a54e
@ -422,7 +422,7 @@ static int
|
||||
openipmi_read(struct ipmi_event_intf * eintf)
|
||||
{
|
||||
struct ipmi_addr addr;
|
||||
struct ipmi_recv recv;
|
||||
struct ipmi_recv recv = {};
|
||||
uint8_t data[80];
|
||||
int rv;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user