Package: inn2-inews
Version: 2.4.5-5
Severity: important
While building a private mail2news gateway I stumbled upon a limitation
regarding the number of header lines inews accepts. In lines 258 ff. of
inews.c, the following lines can be found:
| /* Too many headers? */
| if (++i > 5 * HEADER_DELTA)
| die("more than %d lines of header", i);
HEADER_DELTA is #defined to 20 near the beginning. Thus, any article
containing more than 100 header lines is rejected by inews.
In my opinion, this value should be a configurable parameter. At the
very least, this arbitrarily chosen limit should be clearly documented
(it isn't at the moment).
Greetings from Stuttgart-Bad Cannstatt,
=ToJe=
-- System Information:
Debian Release: 5.0.3
APT prefers stable
APT policy: (900, 'stable'), (500, 'oldstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages inn2-inews depends on:
ii libc6 2.7-18lenny2 GNU C Library: Shared libraries
inn2-inews recommends no packages.
inn2-inews suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]