1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 16:48:49 -05:00
curl/lib/vauth
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
..
cleartext.c vauth/cleartext: fix integer overflow check 2018-03-20 19:25:50 +01:00
cram.c internals: rename the SessionHandle struct to Curl_easy 2016-06-22 10:28:41 +02:00
digest_sspi.c vtls: select ssl backend case-insensitive (follow-up) 2017-09-06 02:27:33 -04:00
digest.c auth: add support for RFC7616 - HTTP Digest access authentication 2017-10-28 16:32:43 +02:00
digest.h auth: add support for RFC7616 - HTTP Digest access authentication 2017-10-28 16:32:43 +02:00
krb5_gssapi.c spelling fixes 2017-03-26 23:56:23 +02:00
krb5_sspi.c all: Refactor malloc+memset to use calloc 2018-04-15 03:00:37 -04:00
ntlm_sspi.c all: Refactor malloc+memset to use calloc 2018-04-15 03:00:37 -04:00
ntlm.c ntlm: remove unnecessary NULL-check to please scan-build 2017-11-21 09:02:40 +01:00
ntlm.h vauth/ntlm.h: fix the #ifdef header guard 2018-03-20 15:00:09 +01:00
oauth2.c internals: rename the SessionHandle struct to Curl_easy 2016-06-22 10:28:41 +02:00
spnego_gssapi.c gssapi: fix memory leak of output token in multi round context 2017-08-05 00:23:24 +02:00
spnego_sspi.c all: Refactor malloc+memset to use calloc 2018-04-15 03:00:37 -04:00
vauth.c sasl: Don't use GSSAPI authentication when domain name not specified 2016-08-21 11:56:23 +01:00
vauth.h Curl_base64_encode: always call with a real data handle. 2017-09-02 12:49:59 +01:00