Package: ax25spyd
Version: 0.23-8

The ax25spyd program contains a bug that causes the rejection of
connections to the spy daemon. The logs shows:

May  2 21:44:59 atucha42 ax25spyd[30651]: accept() on server socket failed

The call to the accept() on the daemon socket is using an unitialized
value as the third parameter. This fix works for me:

--- src/monixd.c.orig   2010-05-03 17:47:49.000000000 -0300
+++ src/monixd.c        2010-05-03 17:45:33.000000000 -0300
@@ -230,7 +230,7 @@
 {
     int sockClient;
     struct sockaddr conn_addr;
-    int conn_addrlen;
+    int conn_addrlen = sizeof(conn_addr);

     if( nClient >= MAXCLIENTS ) {
        syslog(LOG_WARNING,

-- 
Alejandro Santos,
http://www.alejolp.com.ar



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to