diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-04-26 10:41:21 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-04-26 14:55:26 +0200 |
commit | 2ef1662e4bc20f1641bc678141c2df0e42e21e3f (patch) | |
tree | eff45ec6beed9f065596ea680dfcf88981ed2e7c /lib/memdebug.h | |
parent | 3b41839e2e4e27707b3f52918b65cec7d8d70fd2 (diff) | |
download | curl-2ef1662e4bc20f1641bc678141c2df0e42e21e3f.tar.gz |
http2: get rid of another strstr()
Follow-up to 1514c44655e12e: replace another strstr() call done on a
buffer that might not be zero terminated - with a memchr() call, even if
we know the substring will be found.
Assisted-by: Max Dymond
Detected by OSS-Fuzz
Bug: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=8021
Closes #2534
Diffstat (limited to 'lib/memdebug.h')
0 files changed, 0 insertions, 0 deletions