Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Andreas Schwab <schwab@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] PR gdb/11092: Fix index overflow
Date: Mon, 17 May 2010 16:50:00 -0000	[thread overview]
Message-ID: <m3ljbih4c7.fsf@fleche.redhat.com> (raw)
In-Reply-To: <m3eiha7bsa.fsf@hase.home> (Andreas Schwab's message of "Mon, 17	May 2010 18:06:45 +0200")

>>>>> "Andreas" == Andreas Schwab <schwab@redhat.com> writes:

Andreas> The length parameter of c_printstr can be -1 meaning NUL terminated.
Andreas> Compute real length before its first use as an index.

Andreas> 2010-05-17  Andreas Schwab  <schwab@redhat.com>
Andreas> 	PR gdb/11092
Andreas> 	* c-lang.c (c_printstr): Compute real length of NUL terminated
Andreas> 	string at first.

This is ok.  Thanks for fixing this.

Tom


      reply	other threads:[~2010-05-17 16:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-17 16:10 Andreas Schwab
2010-05-17 16:50 ` Tom Tromey [this message]

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=m3ljbih4c7.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=schwab@redhat.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox