← Commit list

64f746ee1e

Viktor Szakats
Viktor Szakats
2026-07-29
SUCCESS Duration: 196s

Subject

urlapi: clear password buffer on error path

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/urlapi.c+1 -0
@@ -347,6 +347,7 @@ out:
curlx_free(passwdp);
curlx_free(optionsp);
curlx_safefree(u->user);
+ curlx_strzero(u->password);
curlx_safefree(u->password);
curlx_safefree(u->options);