[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#1491: bug in ebrowse 22.1
From: |
Chong Yidong |
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?
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#1491: bug in ebrowse 22.1,
Chong Yidong <=