pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/36882: news/newsfetch adds extra newlines in mbox headers
>Number: 36882
>Category: pkg
>Synopsis: news/newsfetch adds extra newlines in mbox headers
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Sep 02 09:20:00 +0000 2007
>Originator: Mathieu
>Release: 3.1.0_PATCH
>Organization:
>Environment:
>Description:
newsfetch splits lines bigger than its MAXBUFSIZE limit, which makes somewhat
broken mbox outputs when that happens in a header. its limit is 500, which is
too low nowadays. AFAIK, it should be at least 1000 (to allow for the usual 998
chars mail line limit plus the CR LF).
>How-To-Repeat:
>Fix:
--- nntp.c.orig 2000-11-12 21:01:49.000000000 -0500
+++ nntp.c 2007-09-02 02:11:47.000000000 -0400
@@ -23,7 +23,7 @@
char *header;
-#define MAXBUFSIZE 500
+#define MAXBUFSIZE 1000
char command_buf[MAXBUFSIZE + 1];
/* lots of protos */
Home |
Main Index |
Thread Index |
Old Index