Subject: bug#15948: 24.3.50; buf_charpos_to_bytepos crash

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

> Date: Thu, 21 Nov 2013 16:27:52 -0500
> From: Richard Stallman <[email-masked]>
> 
> 
> I got a crash because find_newline called buf_charpos_to_bytepos with
> a charpos bigger than BUF_Z.  It was in an Rmail summary buffer.

This is bug #15841, it was fixed in bzr revision 115138.  Your build
is older than that, so please update soon to avoid this nasty
problem.  In the meantime, you can turn off cache-long-scans by
default, or even rebuild after doing that in buffer.c.