all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: Lars Rasmusson <lars.rasmusson@gmail.com>
Cc: 1491@emacsbugs.donarmstrong.com
Subject: bug#1491: bug in ebrowse 22.1
Date: Tue, 13 Jan 2009 23:07:16 -0500	[thread overview]
Message-ID: <873afm34zv.fsf@cyd.mit.edu> (raw)

> 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?






             reply	other threads:[~2009-01-14  4:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-14  4:07 Chong Yidong [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-12-04 14:29 bug#1491: bug in ebrowse 22.1 Lars Rasmusson
2008-12-04 16:30 ` richardeng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=873afm34zv.fsf@cyd.mit.edu \
    --to=cyd@stupidchicken.com \
    --cc=1491@emacsbugs.donarmstrong.com \
    --cc=lars.rasmusson@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.