#134 Lines longer than 1024 characters cannot be parsed

closed-duplicate
nobody
5
2010-10-22
2010-10-21
No

If the dkim-milter .conf file contains a "Domain" line with too many domains listed (more than 1024 characters), the milter will crash on startup with an error like :

dkim-filter: /etc/dkim-filter.conf: configuration error at line 11: unrecognized parameter

This happens because the code that parses the config file allocates a buffer of only 1024 bytes for each line.

Please either increase this to something much larger like 100k, or make it fully dynamic.

Thanks!

Discussion

  • Jamie Cameron

    Jamie Cameron - 2010-10-22
    • status: open --> closed-duplicate
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks