aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/bus/ecam.c
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2023-10-24 11:43:56 +0100
committerMichael Brown <mcb30@ipxe.org>2023-10-24 11:43:56 +0100
commit115707c0edebad65f87525fed583fef73880016d (patch)
tree189fa7a9b67bd10f2286b4366572d789e627a13c /src/drivers/bus/ecam.c
parentff0f860483e344f1af633f94696ff7bc1854611f (diff)
downloadipxe-115707c0edebad65f87525fed583fef73880016d.tar.gz
[iphone] Add missing va_start()/va_end() around reused argument list
The ipair_tx() function uses a va_list twice (first to calculate the formatted string length before allocation, then to construct the string in the allocated buffer) but is missing the va_start() and va_end() around the second usage. This is undefined behaviour that happens to work on some build platforms. Fix by adding the missing va_start() and va_end() around the second usage of the variadic argument list. Reported-by: Andreas Hammarskjöld <andreas@2PintSoftware.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/bus/ecam.c')
0 files changed, 0 insertions, 0 deletions