gnupg-2.0.8 - regression - double free

Alon Bar-Lev alon.barlev at gmail.com
Thu Jan 10 14:31:50 CET 2008


Hello Werner,

Please review:

http://bugs.gentoo.org/show_bug.cgi?id=204662

I cannot reproduce this on my machine... But I guess it has something
to do with latest win32 socket fixups.

gettimeofday({1199970496, 693424}, NULL) = 0
sigprocmask(SIG_SETMASK, [HUP INT USR1 USR2 TERM], ~[KILL STOP RTMIN]) = 0
read(7, "", 1002)                       = 0
write(5, "gpg-agent[4264.7] DBG: <- [EOF]\n", 32) = 32
close(7)                                = 0
time(NULL)                              = 1199970496
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1920, ...}) = 0
write(5, "2008-01-10 14:08:16 gpg-agent[42"..., 74) = 74
sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN], [HUP INT USR1 USR2 TERM]) = 0
gettimeofday({1199970496, 694079}, NULL) = 0
open("/dev/tty", O_RDWR|O_NOCTTY|O_NONBLOCK) = -1 ENXIO (No such
device or address)
writev(2, [{"*** glibc detected *** ", 23}, {"gpg-agent", 9}, {": ",
2}, {"double free or corruption (out)", 31}, {": 0x", 4}, {"0809f5e0",
8}, {" ***\n", 5}], 7) = 82


Also, please consider adding --forground to --daemon, it is impossible
to debug the agent this way!

Best Regards,
Alon Bar-Lev



More information about the Gnupg-devel mailing list