summaryrefslogtreecommitdiffstats
path: root/src/image
diff options
context:
space:
mode:
authorMichael Brown2012-04-23 21:17:24 +0200
committerMichael Brown2012-04-23 21:30:48 +0200
commitde2616165be6d57143981265669fd730669fb13f (patch)
treec0b43d9daa31da029f4ccbfdcb12f2796eeb5a45 /src/image
parent[realtek] Update link state when device is opened (diff)
downloadipxe-de2616165be6d57143981265669fd730669fb13f.tar.gz
ipxe-de2616165be6d57143981265669fd730669fb13f.tar.xz
ipxe-de2616165be6d57143981265669fd730669fb13f.zip
[xfer] Avoid using stack-allocated memory in xfer_printf()
xfer_printf() occasionally has to deal with strings that are potentially long, such as HTTP URIs with multiple query parameters. Allocating these on the stack can lead to stack overruns and memory corruption. Fix by using vasprintf() instead of a stack allocation. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/image')
0 files changed, 0 insertions, 0 deletions