summaryrefslogtreecommitdiff
path: root/curl-config.in
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-04-20 16:32:46 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-04-20 16:32:46 +0200
commitd0aa97e9054f37d7f63ca12863a35fde91896824 (patch)
treea9e6b6c929044868341112a51b0a3e7ebf7c58d3 /curl-config.in
parenta3f385393ae63c99ab6e508d3b720a1da04c2f67 (diff)
downloadcurl-bagder/http2-avoid-strstr-on-data.tar.gz
http2: avoid strstr() on data not zero terminatedbagder/http2-avoid-strstr-on-data
It's not strictly clear if the API contract allows us to call strstr() on a string that isn't zero terminated even when we know it will find the substring, and clang's ASAN check dislikes us for it. Also added a check of the return code in case it fails, even if I can't think of a situation how that can trigger. Detected by OSS-Fuzz Bug: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=7760
Diffstat (limited to 'curl-config.in')
0 files changed, 0 insertions, 0 deletions