1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00
curl/lib/vauth
Marcel Raad 4a8cf6c404
lib: fix maybe-uninitialized warnings
With -Og, GCC complains:

easy.c:628:7: error: ‘mcode’ may be used uninitialized in this function [-Werror=maybe-uninitialized]

../lib/strcase.h:35:29: error: ‘tok_buf’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
vauth/digest.c:208:9: note: ‘tok_buf’ was declared here

../lib/strcase.h:35:29: error: ‘tok_buf’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
vauth/digest.c:566:15: note: ‘tok_buf’ was declared here

Fix this by initializing the variables.
2017-04-22 22:12:37 +02:00
..
cleartext.c Limit ASN.1 structure sizes to 256K. Prevent some allocation size overflows. 2016-11-24 14:28:39 +01:00
cram.c internals: rename the SessionHandle struct to Curl_easy 2016-06-22 10:28:41 +02:00
digest_sspi.c spelling fixes 2017-03-26 23:56:23 +02:00
digest.c lib: fix maybe-uninitialized warnings 2017-04-22 22:12:37 +02:00
digest.h URLs: change http to https in many places 2016-04-06 11:58:34 +02:00
krb5_gssapi.c spelling fixes 2017-03-26 23:56:23 +02:00
krb5_sspi.c spelling fixes 2017-03-26 23:56:23 +02:00
ntlm_sspi.c vauth: Added check for supported SSPI based authentication mechanisms 2016-08-21 10:27:09 +01:00
ntlm.c NTLM: check for features with #ifdef instead of #if 2017-03-29 20:16:09 +02:00
ntlm.h use *.sourceforge.io and misc URL updates 2017-02-06 19:21:05 +00:00
oauth2.c internals: rename the SessionHandle struct to Curl_easy 2016-06-22 10:28:41 +02:00
spnego_gssapi.c vauth: Introduced Curl_auth_is_<mechansism>_supported() functions 2016-08-18 20:31:20 +01:00
spnego_sspi.c sspi: print out InitializeSecurityContext() error message 2017-04-07 08:49:20 +02:00
vauth.c sasl: Don't use GSSAPI authentication when domain name not specified 2016-08-21 11:56:23 +01:00
vauth.h sasl: Don't use GSSAPI authentication when domain name not specified 2016-08-21 11:56:23 +01:00