unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Stuart D. Herring" <herring@lanl.gov>
Cc: emacs-devel@gnu.org
Subject: Re: Problem report #60
Date: Wed, 12 Apr 2006 10:29:16 -0700 (PDT)	[thread overview]
Message-ID: <41122.128.165.123.132.1144862956.squirrel@webmail.lanl.gov> (raw)
In-Reply-To: <E1FTirO-0002Y9-2y@fencepost.gnu.org>

>     So this is fine.  It'd be a big bug if t were 0, though, indexing at
> -1
>     like that.  Looking back up, it seems that if the while loop iterates
> even
>     once, t is > 0, but what if the while test fails the first time?
>
> Which while test is that?  Which line number?

The while test starts at like 8745 in the problem report (the loop ends at
line 9469).  t is incremented unconditionally at line 9338, and the
dangerous indexing/use is at line 9483.

Davis

-- 
This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.

  reply	other threads:[~2006-04-12 17:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-11 15:48 Problem report #60 Dan Nicolaescu
2006-04-11 17:54 ` Stuart D. Herring
2006-04-11 18:02   ` David Kastrup
2006-04-12 17:10   ` Richard Stallman
2006-04-12 17:29     ` Stuart D. Herring [this message]
2006-04-13  3:20       ` Richard Stallman

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=41122.128.165.123.132.1144862956.squirrel@webmail.lanl.gov \
    --to=herring@lanl.gov \
    --cc=emacs-devel@gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).