Your message dated Tue, 17 Nov 2020 18:07:01 +0000
with message-id 
<754a2d8894d876c5cfc6cef6c240676484d915d4.ca...@adam-barratt.org.uk>
and subject line Re: Bug#974955: Ignore this report because of wrong patch 
attached
has caused the Debian Bug report #974955,
regarding solid-pop3d crashes on connecting from ipv6 client
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.)


-- 
974955: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=974955
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: solid-pop3d
Version: 0.15-30
Severity: important
Tag: patch,ipv6

The solid-pop3d daemon process crashes (segmentation faults) when a client 
connect to the daemon via ipv6 protocol.

Because the 'ntopbuff' variable in main.c is too small buffer size.
The 'inet_ntop' main page says the buffer size must be at least 
INET6_ADDRSTRLEN bytes long.
However the 'ntopbuff' is only 100 bytes long.

The following is the patch.

--- main.c.orig 2000-05-13 22:18:40.000000000 +0900
+++ main.c      2020-11-17 13:36:45.941701101 +0900
@@ -1008,7 +1008,7 @@
        struct hostent *hentname;
 #endif
 #ifdef SPIPV6
-       char ntopbuff[100];
+       char ntopbuff[INET6_ADDRSTRLEN];
 #endif
 #endif

//EOM

--- End Message ---
--- Begin Message ---
On Tue, 2020-11-17 at 14:44 +0900, MICHIMURA Tadao wrote:
> Hi!
> 
> Please ignore this bug report, because I had attached wrong patch on
> the report.
> I already submited another bug report with correct patch.

You could just have attached the corrected patch to this report
instead. Anyway, let's close this one.

Regards,

Adam

--- End Message ---

Reply via email to