1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-25 17:48:48 -05:00
curl/tests/server
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
..
.gitignore gitignore: Sort for readability 2015-08-18 01:03:05 -04:00
base64.pl scripts: allow all perl scripts to be run directly 2018-01-07 15:42:11 -05:00
CMakeLists.txt spelling fixes 2018-02-23 23:29:01 +00:00
fake_ntlm.c code style: use spaces around pluses 2017-09-11 09:29:50 +02:00
getpart.c server/getpart: provide dummy function to build conversion enabled 2017-09-15 16:57:59 +02:00
getpart.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
Makefile.am includes: remove curl/curlbuild.h and curl/curlrules.h 2017-06-14 11:07:33 +02:00
Makefile.inc curl_ctype: private is*() type macros and functions 2018-01-29 22:56:43 +01:00
resolve.c code style: use spaces around equals signs 2017-09-11 09:29:50 +02:00
rtspd.c tests: added netinet/in6.h includes in test servers 2017-12-06 00:20:21 +01:00
server_setup.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
server_sockaddr.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
sockfilt.c all: Refactor malloc+memset to use calloc 2018-04-15 03:00:37 -04:00
sws.c spelling fixes 2018-02-23 23:29:01 +00:00
testpart.c testpart: remove _MPRINTF_REPLACE 2017-05-02 21:09:41 +02:00
tftp.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tftpd.c code style: use spaces around pluses 2017-09-11 09:29:50 +02:00
util.c timediff: return timediff_t from the time diff functions 2017-10-25 09:54:37 +02:00
util.h timediff: return timediff_t from the time diff functions 2017-10-25 09:54:37 +02:00