PolicyKit: Branch 'master' - 2 commits
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Jan 27 18:07:59 UTC 2020
src/polkitagent/polkitagenthelper-bsdauth.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6ebec157a99a0153f1f6ef10e6810cc98b52dfff
Merge: b806f0c 0e1d33b
Author: Jan Rybar <jrybar at redhat.com>
Date: Mon Jan 27 18:07:57 2020 +0000
Merge branch 'pkagent-bsd-nullptr' into 'master'
Freeing uninitialized memory
See merge request polkit/polkit!44
commit 0e1d33b473748a63ce76133483ceda3397302857
Author: Jan Rybar <jrybar at redhat.com>
Date: Mon Jan 27 18:07:57 2020 +0000
Freeing uninitialized memory
diff --git a/src/polkitagent/polkitagenthelper-bsdauth.c b/src/polkitagent/polkitagenthelper-bsdauth.c
index b410b45..b105180 100644
--- a/src/polkitagent/polkitagenthelper-bsdauth.c
+++ b/src/polkitagent/polkitagenthelper-bsdauth.c
@@ -45,7 +45,7 @@ main (int argc, char *argv[])
{
struct passwd *pw;
const char *user_to_auth;
- char *cookie;
+ char *cookie = NULL;
/* clear the entire environment to avoid attacks with
libraries honoring environment variables */
More information about the hal-commit
mailing list