Your message dated Sun, 27 Nov 2016 23:50:52 +0000
with message-id <[email protected]>
and subject line Bug#845918: Removed package(s) from unstable
has caused the Debian Bug report #429944,
regarding Segfault when starting muddleftpd
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
429944: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=429944
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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)



--- End Message ---
--- Begin Message ---
Version: 1.3.13.1-4.3+rm

Dear submitter,

as the package muddleftpd has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/845918

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to