mirror of
https://github.com/ipmitool/ipmitool.git
synced 2026-06-03 20:51:36 +00:00
zero initialize the recv structure on the stack
Zero initialize the recv structure used by openipmi_read().
This commit is contained in:
committed by
Alexander Amelkin
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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user