Merge pull request #328 from DrDoof/fix/httpd-get-path-walk

httpd: stop the GET request line walk at the end of the buffer
This commit is contained in:
René van Dorst
2026-08-12 09:28:22 +02:00
committed by GitHub
+1 -1
View File
@@ -640,7 +640,7 @@ void httpd_appcall(void)
p += 4;
scan_header(p);
__xdata uint8_t *q = p;
while (!is_separator(*p))
while (*p && !is_separator(*p))
p++;
*p = '\0';
dbg_string_x(q);