mirror of
https://github.com/webui-dev/webui
synced 2025-03-28 21:13:17 +00:00
Fix macOS buffer overlap
* https://github.com/webui-dev/webui/issues/453
This commit is contained in:
parent
47c11dec33
commit
0826a2c5f8
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user