perl_access hash value length limit?
Russ Allbery
rra at stanford.edu
Wed Jan 12 18:33:16 UTC 2011
Florian Schlichting <fschlich at CIS.FU-Berlin.DE> writes:
> The rejection of longer configuration lines looks quite intentional in
> the parser code. I'm not entirely sure about the new parser
> (lib/confparse.c); it uses a buffer size of 8192 as well, but I think it
> will resize the buffer if necessary, and it's also possible to continue
> a string over multiple lines. So I think a proper fix would be to
> convert readers.conf to the new parser, but I'm not sure if anybody
> intends to go forward with that in the forseeable future...
Yup, the new parser has no arbitrary limits; the buffer there will be
resized as needed to get all of a token.
Switching to the new parser is unfortunately a fair bit of work, although
it would clean up a lot of nnrpd code.
--
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
Please send questions to the list rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
More information about the inn-workers
mailing list