diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-02-13 23:57:40 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-02-13 23:57:40 +0100 |
commit | d3d871cb4fe1512b689bb29cb49473cfcf91c684 (patch) | |
tree | f90fa28a5afb4fc404a2385677eb5301ee1fcccd /tests/data/test2011 | |
parent | db981b7b30c8ed35ebdeab198fdf52afd8f49433 (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 'tests/data/test2011')
0 files changed, 0 insertions, 0 deletions