http2: get rid of another strstr() #2534

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
1 participant
@bagder
Member

bagder commented Apr 26, 2018

Follow-up to 1514c44: 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

http2: get rid of another strstr()
Follow-up to 1514c44: 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

@bagder bagder added the HTTP/2 label Apr 26, 2018

@bagder bagder closed this in 2ef1662 Apr 26, 2018

@bagder bagder deleted the bagder/http2-another-strstr branch Apr 28, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment