Package: muddleftpd Version: 1.3.13.1-4 Hi all,
When I compile and run muddleftpd on Suse Linux/IA64, muddleftpd experiences a segfault in logger.c (when reaching the "timestr[strlen(timestr) - 1] = '\0';" statement in the patch below). I know, the debian bugtracker isn't normally the right place to address bugs which should be addressed upstream, but the muddleftpd project on www.nongnu.org/muddleftpd/ seems dead. Cheers, Johannes This is the output from running-muddleftpd without the below patch: > bin/muddleftpd -c etc/standard.conf -d -v Testing libraries!! Now, does snprintf work . . . . . . . . Yes Now, can I use double ints . . . . . . . Yes Starting muddleftpd server. (Version 1.3.13) Copyright (C) 1999,2000 Beau Kuiper License under GPL. See the http://www.fsf.org for more info. LOADING CONFIG FILE: etc/standard.conf Running as normal user, change uid not possible. Segmentation fault The following patch is a working solution for me: diff -ur muddleftpd-1.3.13.1/src/logger.c muddleftpd-1.3.13.1-local/src/logger.c --- muddleftpd-1.3.13.1/src/logger.c 2003-11-02 17:03:28.000000000 +0100 +++ muddleftpd-1.3.13.1-local/src/logger.c 2007-06-21 12:18:45.241502000 +0200 @@ -40,6 +40,12 @@ char *outstring; int writeresult; + /* 2007-06-21 ZaJ: in case of null pointer: + */ + if (!timestr) + { + timestr = calloc(1,1); + } timestr[strlen(timestr) - 1] = '\0'; switch(type) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

