Subject: Re: bug#15952: 24.3.50; find_newline

From: Eli Zaretskii <[email-masked]>
Date: Fri, 22 Nov 2013 09:49:15 +0200

> Date: Fri, 22 Nov 2013 01:54:32 -0500
> From: Richard Stallman <[email-masked]>
> 
> 
> The crash happened again.  It was in this line of find_newline
> 
>             ceiling_byte = min (CHAR_TO_BYTE (next_change) - 1, ceiling_byte);
> 
> and next_change was larger than BUF_Z.  This was in buffer
> ` *message-viewer RMAIL*'.

Until you update from the repository, this should help:

  (setq-default cache-long-scans nil)