mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 10:37:22 +00:00
_ipmi_set_channel_access() - zero-out variable data before use
This commit is contained in:
parent
11bbf18345
commit
5a30d18af2
@ -179,6 +179,7 @@ _ipmi_set_channel_access(struct ipmi_intf *intf,
|
||||
return (-3);
|
||||
}
|
||||
|
||||
memset(&data, 0, sizeof(data));
|
||||
data[0] = channel_access.channel & 0x0F;
|
||||
data[1] = (access_option << 6);
|
||||
if (channel_access.alerting) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user