Commit 0e1d33b4 authored by Jan Rybar's avatar Jan Rybar
Browse files

Freeing uninitialized memory

parent b806f0c0
...@@ -45,7 +45,7 @@ main (int argc, char *argv[]) ...@@ -45,7 +45,7 @@ main (int argc, char *argv[])
{ {
struct passwd *pw; struct passwd *pw;
const char *user_to_auth; const char *user_to_auth;
char *cookie; char *cookie = NULL;
/* clear the entire environment to avoid attacks with /* clear the entire environment to avoid attacks with
libraries honoring environment variables */ libraries honoring environment variables */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment