diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-03-31 10:00:55 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-03-31 10:10:58 +0200 |
commit | b22a9547364a5aa0b939feb8e29fd072f615272f (patch) | |
tree | 5307643bb8815fb4273725546e21d3709f844122 /tests/libtest/sethostname.c | |
parent | b3912d9dd730b468fd7862e5f47e569dd9976f11 (diff) |
Curl_add_buffer_send: avoid possible NULL dereference
... as we check for a NULL pointer below, we move the derefence to after
the check. Detected by PVS Studio.
Reported-by: Alexis La Goutte
Diffstat (limited to 'tests/libtest/sethostname.c')
0 files changed, 0 insertions, 0 deletions