diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-11-04 16:42:21 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-11-04 22:22:49 +0100 |
commit | 685ef130575cdcf63fe9547757d88a49a40ef281 (patch) | |
tree | d3c1f4f281c61a4ea7aaff2a05da6e1df71276c5 /lib/vauth/krb5_sspi.c | |
parent | d2146c598aa8f9746af55f133a6017b4fe541f7c (diff) |
ntlm: avoid malloc(0) for zero length passwords
It triggers an assert() when built with memdebug since malloc(0) may
return NULL *or* a valid pointer.
Detected by OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=4054
Assisted-by: Max Dymond
Closes #2054
Diffstat (limited to 'lib/vauth/krb5_sspi.c')
0 files changed, 0 insertions, 0 deletions