summaryrefslogtreecommitdiffstats
path: root/src/drivers/net
diff options
context:
space:
mode:
authorMichael Brown2008-10-22 22:18:15 +0200
committerMichael Brown2008-10-22 23:07:13 +0200
commit612f4e7a990272f67dc1461e6cf1c5ad3b83dd14 (patch)
tree7c033dd0697d112086a8dfe43708f25e8e69d5d1 /src/drivers/net
parent[tftp] Add EUNIQ_xx values to differentiate the many EINVAL errors (diff)
downloadipxe-612f4e7a990272f67dc1461e6cf1c5ad3b83dd14.tar.gz
ipxe-612f4e7a990272f67dc1461e6cf1c5ad3b83dd14.tar.xz
ipxe-612f4e7a990272f67dc1461e6cf1c5ad3b83dd14.zip
[settings] Avoid returning uninitialised data on error in fetch_xxx_setting()
Callers (e.g. usr/autoboot.c) may not check the return values from fetch_xxx_setting(), assuming that in error cases the returned setting value will be "empty" (for some sensible value of "empty"). In particular, if the DHCP server did not specify a next-server address, this would result in gPXE using uninitialised data for the TFTP server IP address.
Diffstat (limited to 'src/drivers/net')
0 files changed, 0 insertions, 0 deletions