Subject: bug#1491: bug in ebrowse 22.1

From: Chong Yidong <[email-masked]>
Date: Tue, 13 Jan 2009 23:07:16 -0500

> Isn't this a bug?
> On line ebrowse.c:2037
>           for (--p; p >= inbuffer && *p != '\n'; --p)
>               ;
> I think it  should be
>           for (--p; p > inbuffer && *p != '\n'; --p)
>               ;
> otherwise p may point to one character before inbuffer.

It looks wrong, indeed.  Does changing >= to > fix the crash for you?