# HG changeset patch # User Sean Egan # Date 1039835194 0 # Node ID 405340263d75f5133d37c4f2ac1a05a91410d354 # Parent 226f6871643cb947d367800d727b93da5a7670d8 [gaim-migrate @ 4287] Also from David Kaelbling: Building gaim/0.59.6 on SGI IRIX 6.5, I found that the accept call in core.c'socket_readable was passing uninitialized memory around. The man page says: ... The addrlen is a value-result parameter. It should initially contain the amount of space pointed to by addr; on return it will contain the actual length (in bytes) of the address returned. If addr is zero, addrlen is ignored. committer: Tailor Script diff -r 226f6871643c -r 405340263d75 src/core.c --- a/src/core.c Sat Dec 14 02:27:15 2002 +0000 +++ b/src/core.c Sat Dec 14 03:06:34 2002 +0000 @@ -417,7 +417,7 @@ static gboolean socket_readable(GIOChannel *source, GIOCondition cond, gpointer data) { struct sockaddr_un saddr; - gint len; + gint len = sizeof(saddr); gint fd; struct UI *ui;