curl/docs/libcurl
Daniel Gustafsson 5cc3285574 docs: mention potential leak in curl_slist_append
When a non-empty list is appended to, and used as the returnvalue,
the list pointer can leak in case of an allocation failure in the
curl_slist_append() call. This is correctly handled in curl code
usage but we weren't explicitly pointing it out in the API call
documentation. Fix by extending the RETURNVALUE manpage section
and example code.

Closes #3424
Reported-by: dnivras on github
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
2019-01-02 12:49:49 +01:00
..
opts http: added options for allowing HTTP/0.9 responses 2018-12-21 10:49:30 +01:00
.gitignore
ABI
CMakeLists.txt
curl_easy_cleanup.3
curl_easy_duphandle.3 whitespace fixes 2018-09-23 22:24:02 +00:00
curl_easy_escape.3
curl_easy_getinfo.3
curl_easy_init.3
curl_easy_pause.3
curl_easy_perform.3 whitespace fixes 2018-09-23 22:24:02 +00:00
curl_easy_recv.3
curl_easy_reset.3 whitespace fixes 2018-09-23 22:24:02 +00:00
curl_easy_send.3
curl_easy_setopt.3 http: added options for allowing HTTP/0.9 responses 2018-12-21 10:49:30 +01:00
curl_easy_strerror.3
curl_easy_unescape.3
curl_easy_upkeep.3
curl_escape.3
curl_formadd.3 documentation: curl_formadd field and file names are now escaped 2018-12-11 15:31:23 +01:00
curl_formfree.3
curl_formget.3
curl_free.3
curl_getdate.3
curl_getenv.3
curl_global_cleanup.3
curl_global_init_mem.3 whitespace fixes 2018-09-23 22:24:02 +00:00
curl_global_init.3
curl_global_sslset.3 axtls: removed 2018-11-01 10:29:53 +01:00
curl_mime_addpart.3
curl_mime_data_cb.3
curl_mime_data.3
curl_mime_encoder.3
curl_mime_filedata.3
curl_mime_filename.3
curl_mime_free.3
curl_mime_headers.3
curl_mime_init.3
curl_mime_name.3
curl_mime_subparts.3
curl_mime_type.3
curl_mprintf.3
curl_multi_add_handle.3
curl_multi_assign.3
curl_multi_cleanup.3
curl_multi_fdset.3
curl_multi_info_read.3
curl_multi_init.3 whitespace fixes 2018-09-23 22:24:02 +00:00
curl_multi_perform.3
curl_multi_remove_handle.3
curl_multi_setopt.3
curl_multi_socket_action.3
curl_multi_socket_all.3
curl_multi_socket.3
curl_multi_strerror.3
curl_multi_timeout.3 whitespace fixes 2018-09-23 22:24:02 +00:00
curl_multi_wait.3
curl_share_cleanup.3
curl_share_init.3 whitespace fixes 2018-09-23 22:24:02 +00:00
curl_share_setopt.3
curl_share_strerror.3
curl_slist_append.3 docs: mention potential leak in curl_slist_append 2019-01-02 12:49:49 +01:00
curl_slist_free_all.3 whitespace fixes 2018-09-23 22:24:02 +00:00
curl_strequal.3
curl_strnequal.3
curl_unescape.3
curl_url_cleanup.3 curl_url-docs: fix AVAILABILITY as Added in curl 7.62.0 2018-09-08 16:02:25 +02:00
curl_url_dup.3 curl_url-docs: fix AVAILABILITY as Added in curl 7.62.0 2018-09-08 16:02:25 +02:00
curl_url_get.3 spelling fixes [ci skip] 2018-10-08 19:37:40 +00:00
curl_url_set.3 urlapi: only skip encoding the first '=' with APPENDQUERY set 2018-11-07 08:28:48 +01:00
curl_url.3 curl_url-docs: fix AVAILABILITY as Added in curl 7.62.0 2018-09-08 16:02:25 +02:00
curl_version_info.3 whitespace fixes 2018-09-23 22:24:02 +00:00
curl_version.3
getinfo-times
libcurl-easy.3
libcurl-env.3
libcurl-errors.3 docs: add more description to unified ssl error codes 2018-11-19 15:57:44 -08:00
libcurl-multi.3
libcurl-security.3 whitespace fixes 2018-09-23 22:24:02 +00:00
libcurl-share.3
libcurl-thread.3 axtls: removed 2018-11-01 10:29:53 +01:00
libcurl-tutorial.3 whitespace fixes 2018-09-23 22:24:02 +00:00
libcurl-url.3 libcurl-url.3: overview man page for the URL API 2018-09-10 23:29:37 +02:00
libcurl.3
libcurl.m4
Makefile.am
Makefile.inc whitespace fixes 2018-09-23 22:24:02 +00:00
mksymbolsmanpage.pl
symbols-in-versions http: added options for allowing HTTP/0.9 responses 2018-12-21 10:49:30 +01:00
symbols.pl