Skip to content

Commit

Permalink
Fix macOS buffer overlap
Browse files Browse the repository at this point in the history
  • Loading branch information
hassandraga committed Jul 12, 2024
1 parent 47c11de commit 0826a2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webui.c
Original file line number Diff line number Diff line change
Expand Up @@ -7590,7 +7590,7 @@ static void _webui_http_send_header(
}
else {
// Header without auth cookies
to_send = WEBUI_SN_PRINTF_DYN(buffer, sizeof(buffer),
to_send = WEBUI_SN_PRINTF_STATIC(buffer, sizeof(buffer),
"HTTP/1.1 200 OK\r\n"
"Access-Control-Allow-Origin: *\r\n"
"Cache-Control: %s\r\n"
Expand Down

0 comments on commit 0826a2c

Please sign in to comment.