aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test929
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 22:16:50 +0200
commit1514c44655e12e93e453bbc9e1934cf6d30d3817 (patch)
tree36493070de0d72c3ee865ed6450cf60390b9fb9f /tests/data/test929
parentb0a50227c07654e47598c90fe55cee1c890cc4a4 (diff)
http2: avoid strstr() on data not zero terminated
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 Closes #2513 Bug: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=7760
Diffstat (limited to 'tests/data/test929')
0 files changed, 0 insertions, 0 deletions