diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-03-12 08:37:18 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-03-12 21:45:03 +0100 |
commit | 401cb929543e3370726574c01fd90d965c5b3c60 (patch) | |
tree | 9a25e32ccdc5b70f4915d1ca4f6e246fb9dc5ef6 /lib/mprintf.c | |
parent | 7e68fed88ba6be7d46df8e45d698b6c2053f8fee (diff) |
memdebug: log pointer before freeing its data
Coverity warned for two potentional "Use after free" cases. Both are false
positives because the memory wasn't used, it was only the actual pointer
value that was logged.
The fix still changes the order of execution to avoid the warnings.
Coverity CID 1443033 and 1443034
Closes #3671
Diffstat (limited to 'lib/mprintf.c')
0 files changed, 0 insertions, 0 deletions