GNU bug report logs - #1491
bug in ebrowse 22.1

Previous Next

Package: emacs;

Reported by: Lars Rasmusson <lars.rasmusson <at> gmail.com>

Date: Thu, 4 Dec 2008 14:40:04 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Lars Rasmusson <lars.rasmusson <at> gmail.com>
Cc: 1491 <at> debbugs.gnu.org
Subject: bug#1491: bug in ebrowse 22.1 
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?




This bug report was last modified 16 years and 133 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.