contrib/git-credential-gnome-keyring.c: use secure memory for reading passwords
commitda2727f23c68fb8cbda3cbd03e81141531166585
authorBrandon Casey <drafnel@gmail.com>
Mon, 23 Sep 2013 18:49:12 +0000 (23 11:49 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 16 Oct 2013 16:35:32 +0000 (16 09:35 -0700)
tree5f30fdb81389d7d6ccb85aa3f32173be0d2cdd20
parent9fe3e6cf9e5e3dbf8777dd78dbd27c44cfc4eb85
contrib/git-credential-gnome-keyring.c: use secure memory for reading passwords

gnome-keyring provides functions to allocate non-pageable memory (if
possible).  Let's use them to allocate memory that may be used to hold
secure data read from the keyring.

Signed-off-by: Brandon Casey <drafnel@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/credential/gnome-keyring/git-credential-gnome-keyring.c