diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-02-27 11:06:14 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-02-27 13:55:29 +0100 |
commit | 1d1e9e8ad7a5f35818dc7072e6fbe8a76a93e018 (patch) | |
tree | eaf64f71ffb1e9a3bb72065df2568173c1fa75b8 /lib/escape.h | |
parent | 9faa0d2b4c0007ef5063eee818c4ac1db5d7de47 (diff) |
Curl_is_ASCII_name: handle a NULL argument
Make the function tolerate a NULL pointer input to avoid dereferencing
that pointer.
Follow-up to efce3ea5a85126d
Detected by OSS-Fuzz
Reviewed-By: Steve Holme
Bug: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=20907
Fixes #4985
Closes #4986
Diffstat (limited to 'lib/escape.h')
0 files changed, 0 insertions, 0 deletions