diff options
author | Evan Huus <eapache@gmail.com> | 2014-05-17 08:23:52 -0400 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2014-05-17 12:30:03 +0000 |
commit | 9fe221a42f6085d6345a5ee6b5deb47d93b264de (patch) | |
tree | 42e16c0854faad10ef0422235a892730e4be9dd6 /file.c | |
parent | 72a6a8cb5c7172f39f7677c27ce781d7816723a3 (diff) |
Fix newly optimized strdup_vprintf.
As Jakub pointed out, our +1/-1 logic for null terminators wasn't quite right.
Also be sure to re-copy the va_list parameter if we need to re-use it, as
otherwise things break oddly.
Change-Id: Ibeaa95af602f565791e9378a6cfce434f13025eb
Reviewed-on: https://code.wireshark.org/review/1670
Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'file.c')
0 files changed, 0 insertions, 0 deletions