diff options
author | Nick Zitzmann <nickzman@gmail.com> | 2013-02-19 19:03:39 -0700 |
---|---|---|
committer | Nick Zitzmann <nickzman@gmail.com> | 2013-02-19 19:03:39 -0700 |
commit | 80e2b3edb9755ff915185b4fbfa285d482c6bfc6 (patch) | |
tree | 6d9ca7c15e6a1dc6f2f8002b948ed82d7f43defe /lib/curl_gethostname.h | |
parent | 52605e006cddccf8b7194389f7e14c04bee089c3 (diff) |
metalink: fix improbable crash parsing metalink filename
The this_url pointer wasn't being initialized, so if strdup() would return
null when copying the filename in a metalink file, then hilarity would
ensue during the cleanup phase. This change was brought to you by clang,
which noticed this and raised a warning.
Diffstat (limited to 'lib/curl_gethostname.h')
0 files changed, 0 insertions, 0 deletions