Files
ppsspp/Common
Henrik RydgårdandClaude Sonnet 5 99ab8b81ca HTTPHeaders: fix OOB alloc from a request line with no trailing space
ParseHttpHeader() used strchr(buffer, ' ') unconditionally as endptr,
even though the parser explicitly supports HTTP/0.9-style requests
with no trailing space/version (type = SIMPLE). A request line like
"GET /" with no space made strchr return null, and nullptr - buffer
truncated to a garbage length driving new[]/memcpy. Falls back to the
end of the line when no space is found, and clamps param_length to
avoid a similar issue when '?' appears after the (missing) space.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01L4QAoxV2KY7ek4PcZw3WvY
2026-08-10 11:26:24 +02:00
..
2026-08-10 04:59:55 -04:00
…
…
…
…
2026-03-30 11:34:19 -06:00
…
2026-07-30 10:03:15 +02:00
2026-07-29 14:42:24 +02:00
2026-06-02 17:16:45 +02:00
…
2026-05-16 10:40:08 +02:00
…
…
2026-07-27 21:33:14 +02:00
2026-07-27 18:37:28 +02:00