Your message dated Thu, 17 Dec 2015 19:36:52 +0000
with message-id <[email protected]>
and subject line Bug#808061: Removed package(s) from unstable
has caused the Debian Bug report #674162,
regarding rats segfaults on invalid command-line options
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.)


-- 
674162: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674162
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rats
Version: 2.3-1
Severity: normal
Tags: patch

Rats segfaults when passed an invalid command-line option:

$ ./rats --die-rats-die
Segmentation fault

The segfault occurs in getopt_long in main.c; it seems the problem is
simply that the long_options array is missing the requisite final
null-entry.

Patch attached.
diff --git a/main.c b/main.c
index acf02d9..6090db7 100644
--- a/main.c
+++ b/main.c
@@ -281,6 +281,7 @@ int main(int argc, char **argv)
       {"columns", 0,0,0},
       {"context", 0,0,0},
       {"all-static", 0,0,0},
+      {0,0,0,0},
     };
     progname = argv[0];
     flags|=RECURSIVE_FILE_SCAN;

--- End Message ---
--- Begin Message ---
Version: 2.3-1+rm

Dear submitter,

as the package rats 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/808061

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.
Thorsten Alteholz (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to