Fix some sanitizer issues, and disable LTO in debug builds to save some iteration time.

This commit is contained in:
2024-08-14 19:40:20 -04:00
parent 463951a4f1
commit 3d58094199
7 changed files with 22 additions and 13 deletions

View File

@ -1071,7 +1071,7 @@ void* tf_http_get_user_data(tf_http_t* http)
const char* tf_http_get_cookie(const char* cookie_header, const char* name)
{
if (!cookie_header)
if (!cookie_header || !name)
{
return NULL;
}