The reporter had an html attachment with extremely long lines,
combined with a color pattern of "color body default default ."
This overflowed the lineInfo.chunks, causing a segfault.
Abort the body color patterns if this happens.
{
if (!found)
{
+ /* Abort if we fill up chunks.
+ * Yes, this really happened. See #3888 */
+ if (lineInfo[n].chunks == SHRT_MAX)
+ {
+ null_rx = 0;
+ break;
+ }
if (++(lineInfo[n].chunks) > 1)
safe_realloc (&(lineInfo[n].syntax),
(lineInfo[n].chunks) * sizeof (struct syntax_t));