Skip to content

Commit 0826a2c

Browse files
committed
Fix macOS buffer overlap
* #453
1 parent 47c11de commit 0826a2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/webui.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7590,7 +7590,7 @@ static void _webui_http_send_header(
75907590
}
75917591
else {
75927592
// Header without auth cookies
7593-
to_send = WEBUI_SN_PRINTF_DYN(buffer, sizeof(buffer),
7593+
to_send = WEBUI_SN_PRINTF_STATIC(buffer, sizeof(buffer),
75947594
"HTTP/1.1 200 OK\r\n"
75957595
"Access-Control-Allow-Origin: *\r\n"
75967596
"Cache-Control: %s\r\n"

0 commit comments

Comments
 (0)