diff options
author | Mole Shang <[email protected]> | 2024-03-01 00:34:19 +0800 |
---|---|---|
committer | Mole Shang <[email protected]> | 2024-03-01 22:30:12 +0800 |
commit | 6d9c1c8396ef374dce59d4c95199d0155a6fdfa3 (patch) | |
tree | a3f661195ccbf01c04aa322ea6b8193c72f66539 /src/main.c | |
parent | 749d02bb3474592613d22736615f7530fa420b78 (diff) | |
download | hinata-6d9c1c8396ef374dce59d4c95199d0155a6fdfa3.tar.gz hinata-6d9c1c8396ef374dce59d4c95199d0155a6fdfa3.tar.bz2 hinata-6d9c1c8396ef374dce59d4c95199d0155a6fdfa3.zip |
tree-wide: fix uaf bugs
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -66,6 +66,7 @@ int main(void) { if (cookie_datum.ok) { printf("[tomlc99] Found cookie string in config.toml, applying...\n"); cookie = cookie_datum.u.s; + DEBUG_PRINT("Cookie: %s\n", cookie); } } } @@ -189,5 +190,5 @@ int main(void) { curl_cleanup(&stat); nk_glfw3_shutdown(&glfw); glfwTerminate(); - return 0; + exit(0); } |