summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorMichael Brown2014-02-26 17:44:05 +0100
committerMichael Brown2014-02-26 17:44:05 +0100
commitced4f8d1d36f920ba3e316297f1b3ab841d37b6a (patch)
tree12134bd110042ee1745006628d86e6da9695ceb0 /src/tests
parent[dns] Update end-of-name pointer after processing CNAME record (diff)
downloadipxe-ced4f8d1d36f920ba3e316297f1b3ab841d37b6a.tar.gz
ipxe-ced4f8d1d36f920ba3e316297f1b3ab841d37b6a.tar.xz
ipxe-ced4f8d1d36f920ba3e316297f1b3ab841d37b6a.zip
[dhcp] Copy exactly the required length when resizing DHCP options
When resizing DHCP options, iPXE currently calculates the length to be copied by subtracting the destination pointer from the end of buffer pointer. This works and guarantees not to write beyond the end of the buffer, but may end up reading beyond the end of the buffer. Fix by calculating the required length exactly. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/tests')
0 files changed, 0 insertions, 0 deletions