aboutsummaryrefslogtreecommitdiff
path: root/src/tool_homedir.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-02-13 23:57:40 +0100
committerDaniel Stenberg <daniel@haxx.se>2014-02-13 23:57:40 +0100
commitd3d871cb4fe1512b689bb29cb49473cfcf91c684 (patch)
treef90fa28a5afb4fc404a2385677eb5301ee1fcccd /src/tool_homedir.c
parentdb981b7b30c8ed35ebdeab198fdf52afd8f49433 (diff)
Curl_urldecode: don't allow NULL as receiver
For a function that returns a decoded version of a string, it seems really strange to allow a NULL pointer to get passed in which then prevents the decoded data from being returned! This functionality was not documented anywhere either. If anyone would use it that way, that memory would've been leaked. Bug: https://github.com/bagder/curl/pull/90 Reported-by: Arvid Norberg
Diffstat (limited to 'src/tool_homedir.c')
0 files changed, 0 insertions, 0 deletions