aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorMartin Willers <M.Willers@gmx.net>2014-05-08 12:32:56 +0200
committerBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2014-05-10 01:22:22 +1000
commitd5cd49b73c3dfaf5b1188030a6bc9fc597edae8a (patch)
treed7ac13957f87aabbc6e5702de34fffa6d4ffcc25 /README
parent9f957a193701788cac66292daea2c89ed94a033f (diff)
downloadexternal_heimdall-d5cd49b73c3dfaf5b1188030a6bc9fc597edae8a.zip
external_heimdall-d5cd49b73c3dfaf5b1188030a6bc9fc597edae8a.tar.gz
external_heimdall-d5cd49b73c3dfaf5b1188030a6bc9fc597edae8a.tar.bz2
fix --stdout-errors handling
When using --stdout-errors, the messages written to stdout contained garbage. Inside vfprintf(), each va_arg() consumes one entry from the va_args. Trying to use the same va_args variable again results in undefined behavior as subsequent va_arg() invocations continue to read from memory past the actual variable space. Instead, a copy has to be made with va_copy() and this be used for outputting to stdout.
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions