aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavier.delcampo@orain.io>2020-10-14 08:27:19 +0200
committerXavier Del Campo Romero <xavier.delcampo@orain.io>2020-10-14 08:27:19 +0200
commit601a8133257c095032a3c43bd4319e2c0f105756 (patch)
treebe995e0b64b376c696c443ea8c5367f2e7925ec7 /include
parent837c9427de10ddcb5295f3840ead2a6c3aa61e69 (diff)
Fix lifetime issues with va_list
The standard requires both va_start and va_end to be called from the same function. On the other hand, vsnprintf and vsprintf leave the va_list on an undefined state according to the standard, so a copy must be created before a second call to these functions.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions