Your message dated Sun, 21 Oct 2007 13:42:29 +0200 with message-id <[EMAIL PROTECTED]> has caused the Debian Bug report #447408, regarding pnscan: segfaults when running without parameters to be marked as having been forwarded to the upstream software author(s) [EMAIL PROTECTED]
(NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message ---I am marking this report as forwarded. Please keep the CC to [EMAIL PROTECTED] in your replies. Begin forwarded message: Date: Sun, 21 Oct 2007 12:56:57 +0200 From: Ola Lundqvist <[EMAIL PROTECTED]> To: Jose Luis Gonzalez <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Bug#447408: pnscan: segfaults when running without parameters Hi Thanks a lot! Forwarded to upstream in this mail. I hope he have the email left. Best regards, // Ola On Sat, Oct 20, 2007 at 11:14:55PM +0200, Jose Luis Gonzalez wrote: > Package: pnscan > Version: 1.11-3 > Severity: normal > Tags: upstream patch > > pnscan segfaults when running without parameters and an empty line > as input: > > $ echo | pnscan > Segmentation fault (core dumped) > > $ gdb /usr/bin/pnscan core > [...] > Program terminated with signal 11, Segmentation fault. > #0 0xb7e17b26 in strtok_r () from /lib/tls/libc.so.6 > > This is a bug in the original program: > > ==================================================================== > > --- pnscan-wrong.c 2007-10-20 23:08:00.000000000 +0200 > +++ pnscan.c 2007-10-20 23:08:06.000000000 +0200 > @@ -816,7 +816,6 @@ > } > > host = strtok_r(buf, " \t\n\r", &tokp); > - serv = strtok_r(NULL, " \t\n\r", &tokp); > > if (host == NULL || host[0] == '#') > continue; > @@ -828,6 +827,8 @@ > continue; > } > > + serv = strtok_r(NULL, " \t\n\r", &tokp); > + > if (serv == NULL) > { > if (first_port == 0) > > ======================================================================= > > Please forward to upstream. > > > -- --------------------- Ola Lundqvist --------------------------- / [EMAIL PROTECTED] Annebergsslingan 37 \ | [EMAIL PROTECTED] 654 65 KARLSTAD | | http://opalsys.net/ +46 (0)70-332 1551 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / ---------------------------------------------------------------
--- End Message ---

