mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-07-26 17:31:46 +00:00
Since we were only enforcing the size limit after reading each line a single very long line could cause us to to run out of memory. This change enforces the character limit on each read character not just on line boundaries. We also correct the count of processed characters in the warning message, which was not counting newline and linefeed characters.