Bug#409819: snoopy: segfaults on amd64

2007-02-26 Thread Marc Haber
On Mon, Feb 26, 2007 at 10:04:24AM +0100, Marc Haber wrote: > I have committed the attached patch and have pointed upstream here. Stupid me forgot the attachment. Greetings Marc -- - Marc Haber | "I don't trust

Bug#409819: snoopy: segfaults on amd64

2007-02-25 Thread Steve Langasek
FWIW, this latest patch can't be right: +@@ -96,9 +98,13 @@ + free(*(argv_copy+i)); + #endif + +- syslog(LOG_INFO, "[%s, uid:%d sid:%d]: %s", getlogin(), getuid(), getsid(0), logstring); +- free(logstring); ++ getlogin_r( login, 255 ); ++ if( login == 0 ) { ++

Bug#409819: snoopy: segfaults on amd64

2007-02-05 Thread Mike O'Connor
Package: snoopy Version: 1.3-12 Severity: normal Snoopy is not usable on an amd64 system. Having it in ld.so.preload causes execv to segfault with every invcation. After some debugging, I've determined that the problem happens when trying to use the pointer returned from the "getLogin" function