curl/src
Daniel Gustafsson 94400f32e9 all: Refactor malloc+memset to use calloc
When a zeroed out allocation is required, use calloc() rather than
malloc() followed by an explicit memset(). The result will be the
same, but using calloc() everywhere increases consistency in the
codebase and avoids the risk of subtle bugs when code is injected
between malloc and memset by accident.

Closes https://github.com/curl/curl/pull/2497
2018-04-15 03:00:37 -04:00
..
macos docs/comments: Update to secure URL versions 2017-08-08 21:41:07 +02:00
.gitignore
CMakeLists.txt cmake: Correctly include curl.rc in Windows builds (#2064) 2017-11-10 13:58:10 +03:00
curl.rc
Makefile.am make: fix docs build on OpenBSD 2017-07-10 13:54:02 +02:00
makefile.amiga
Makefile.b32
makefile.dj curl: remove tool_writeenv.[ch] 2017-05-06 23:13:08 +02:00
Makefile.inc time-cond: fix reading the file modification time on Windows 2018-02-05 22:02:10 +01:00
Makefile.m32 src/Makefile.m32: fix typo in brotli lib customization 2017-11-06 01:05:52 +00:00
Makefile.netware spelling fixes 2018-02-23 23:29:01 +00:00
Makefile.Watcom
mkhelp.pl mkhelp.pl: support reproducible build 2017-10-30 19:27:49 +01:00
slist_wc.c
slist_wc.h
tool_binmode.c
tool_binmode.h
tool_bname.c
tool_bname.h
tool_cb_dbg.c code style: use spaces around pluses 2017-09-11 09:29:50 +02:00
tool_cb_dbg.h curl: fix callback functions to match prototype 2017-03-30 14:59:14 +02:00
tool_cb_hdr.c curl: don't pass semicolons when parsing Content-Disposition 2017-10-09 10:37:27 +02:00
tool_cb_hdr.h curl: fix callback argument inconsistency 2017-03-29 10:05:12 +02:00
tool_cb_prg.c build: fix termios issue on android cross-compile 2018-02-01 08:07:45 +01:00
tool_cb_prg.h curl: progress bar refresh, get width using ioctl() 2018-01-22 08:29:37 +01:00
tool_cb_rea.c
tool_cb_rea.h
tool_cb_see.c
tool_cb_see.h
tool_cb_wrt.c tool_cb_wrt: fix variable shadowing warning 2017-07-09 14:38:10 +02:00
tool_cb_wrt.h curl: fix callback argument inconsistency 2017-03-29 10:05:12 +02:00
tool_cfgable.c url: Add option CURLOPT_HAPPY_EYEBALLS_TIMEOUT 2018-02-20 17:51:43 -05:00
tool_cfgable.h CURLOPT_HAPROXYPROTOCOL: support the HAProxy PROXY protocol 2018-03-17 11:50:06 +01:00
tool_convert.c
tool_convert.h
tool_dirhie.c Fixes for MSDOS etc. 2018-01-24 15:02:53 +01:00
tool_dirhie.h
tool_doswin.c FindWin32CACert: Use a temporary buffer on the stack 2017-06-11 17:32:02 +02:00
tool_doswin.h
tool_easysrc.c code style: use spaces around equals signs 2017-09-11 09:29:50 +02:00
tool_easysrc.h mime: use in curl cli tool instead of form API. 2017-09-02 18:17:33 +01:00
tool_filetime.c time-cond: fix reading the file modification time on Windows 2018-02-05 22:02:10 +01:00
tool_filetime.h time-cond: fix reading the file modification time on Windows 2018-02-05 22:02:10 +01:00
tool_formparse.c all: Refactor malloc+memset to use calloc 2018-04-15 03:00:37 -04:00
tool_formparse.h mime: use in curl cli tool instead of form API. 2017-09-02 18:17:33 +01:00
tool_getparam.c CURLOPT_HAPROXYPROTOCOL: support the HAProxy PROXY protocol 2018-03-17 11:50:06 +01:00
tool_getparam.h curl: detect and bail out early on parameter integer overflows 2017-08-07 09:38:45 +02:00
tool_getpass.c
tool_getpass.h
tool_help.c CURLOPT_HAPROXYPROTOCOL: support the HAProxy PROXY protocol 2018-03-17 11:50:06 +01:00
tool_help.h
tool_helpers.c curl: detect and bail out early on parameter integer overflows 2017-08-07 09:38:45 +02:00
tool_helpers.h
tool_homedir.c tool: fix Windows Unicode build 2017-04-04 23:04:29 +02:00
tool_homedir.h
tool_hugehelp.c.cvs
tool_hugehelp.h
tool_libinfo.c
tool_libinfo.h
tool_main.c tool_main: turn off MinGW CRT's globbing 2017-08-22 09:21:23 +02:00
tool_main.h
tool_metalink.c cleanup: misc typos in strings and comments 2018-03-16 11:08:31 +01:00
tool_metalink.h
tool_msgs.c curl: support >256 bytes warning messsages 2017-12-12 19:59:29 +01:00
tool_msgs.h
tool_operate.c tool_operate: Fix retry on FTP 4xx to ignore other protocols 2018-04-07 02:57:57 -04:00
tool_operate.h
tool_operhlp.c
tool_operhlp.h
tool_panykey.c
tool_panykey.h
tool_paramhlp.c curl: make str2udouble not return values on error 2017-09-18 10:45:29 +02:00
tool_paramhlp.h curl: detect and bail out early on parameter integer overflows 2017-08-07 09:38:45 +02:00
tool_parsecfg.c code style: use spaces around equals signs 2017-09-11 09:29:50 +02:00
tool_parsecfg.h
tool_sdecls.h mime: use in curl cli tool instead of form API. 2017-09-02 18:17:33 +01:00
tool_setopt.c form/mime: field names are not allowed to contain zero-valued bytes. 2017-09-22 01:08:29 +01:00
tool_setopt.h mime: use in curl cli tool instead of form API. 2017-09-02 18:17:33 +01:00
tool_setup.h
tool_sleep.c tool_sleep: typecast to avoid macos compiler warning 2017-07-04 10:27:36 +02:00
tool_sleep.h
tool_strdup.c code style: use spaces around pluses 2017-09-11 09:29:50 +02:00
tool_strdup.h
tool_urlglob.c curl: pass through [] in URLs instead of calling globbing error 2017-11-04 10:23:27 +01:00
tool_urlglob.h
tool_util.c tool_util: remove unused tvdiff_secs and remove tool_ prefix 2017-06-03 00:11:59 +02:00
tool_util.h tool_util: remove unused tvdiff_secs and remove tool_ prefix 2017-06-03 00:11:59 +02:00
tool_version.h
tool_vms.c
tool_vms.h
tool_writeout.c curl: check for end of input in writeout backslash handling 2017-03-25 23:48:57 +01:00
tool_writeout.h
tool_xattr.c docs/comments: Update to secure URL versions 2017-08-08 21:41:07 +02:00
tool_xattr.h