aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2022-02-16 13:22:56 +0000
committerMichael Brown <mcb30@ipxe.org>2022-02-16 13:29:53 +0000
commit252cff5e9a0b67a27e1837cb674491692b717fd0 (patch)
treeb90f91d3902e223e108bde1232ff01e036cfbb08 /src/util
parent04288974f6d81019314cbf9cbd72ab1fae95496f (diff)
downloadipxe-252cff5e9a0b67a27e1837cb674491692b717fd0.zip
ipxe-252cff5e9a0b67a27e1837cb674491692b717fd0.tar.gz
ipxe-252cff5e9a0b67a27e1837cb674491692b717fd0.tar.bz2
[xsigo] Avoid storing unused uninitialised fields in gateway address
As reported by Coverity, xsmp_rx_xve_modify() currently passes a partially initialised struct ib_address_vector to xve_update_tca() and thence to eoib_set_gateway(), which uses memcpy() to store the whole structure including the (unused and unneeded) uninitialised fields. Silence the Coverity warning by zeroing the whole structure. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/util')
0 files changed, 0 insertions, 0 deletions