public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
From: jkratoch@sourceware.org
To: archer-commits@sourceware.org
Subject: [SCM]  master: daily update
Date: Wed, 15 Apr 2009 11:52:00 -0000	[thread overview]
Message-ID: <20090415115213.6375.qmail@sourceware.org> (raw)

The branch, master has been updated
       via  948bf30c312ce74bf7f515ad95b0f783efd84fdf (commit)
       via  9ed41d50e43895863854bde267ab1842e4dc477c (commit)
       via  8ecc6922cac67b2bee18e162cfcdc69d5938ffd5 (commit)
      from  0ebbe3ae9e562b5039b4323e61d44df41fc915db (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 948bf30c312ce74bf7f515ad95b0f783efd84fdf
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Apr 15 01:00:04 2009 +0000

    daily update

commit 9ed41d50e43895863854bde267ab1842e4dc477c
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Wed Apr 15 00:00:02 2009 +0000

    *** empty log message ***

commit 8ecc6922cac67b2bee18e162cfcdc69d5938ffd5
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 14 21:54:33 2009 +0000

    gdb/
    	* c-lang.c (c_get_string): Fix xfree crash on a failed string read.

-----------------------------------------------------------------------

Summary of changes:
 bfd/version.h  |    2 +-
 gdb/ChangeLog  |    4 ++++
 gdb/c-lang.c   |    2 +-
 gdb/version.in |    2 +-
 4 files changed, 7 insertions(+), 3 deletions(-)

First 500 lines of diff:
diff --git a/bfd/version.h b/bfd/version.h
index 08424e5..11a6719 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20090414
+#define BFD_VERSION_DATE 20090415
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 59c7470..f721d4a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2009-04-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* c-lang.c (c_get_string): Fix xfree crash on a failed string read.
+
 2009-04-14  Pierre Muller  <muller@ics.u-strasbg.fr>
 
 	ARI fix: sprintf rule.
diff --git a/gdb/c-lang.c b/gdb/c-lang.c
index 0c9e4f8..e18f173 100644
--- a/gdb/c-lang.c
+++ b/gdb/c-lang.c
@@ -657,7 +657,7 @@ c_get_string (struct value *value, gdb_byte **buffer, int *length,
 			 buffer, length);
       if (err)
 	{
-	  xfree (buffer);
+	  xfree (*buffer);
 	  error (_("Error reading string from inferior: %s"),
 		 safe_strerror (err));
 	}
diff --git a/gdb/version.in b/gdb/version.in
index b6694d4..1d03176 100644
--- a/gdb/version.in
+++ b/gdb/version.in
@@ -1 +1 @@
-6.8.50.20090414-cvs
+6.8.50.20090415-cvs


hooks/post-receive
--
Repository for Project Archer.


             reply	other threads:[~2009-04-15 11:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-15 11:52 jkratoch [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-04-09 16:27 tromey
2009-03-07 21:49 jkratoch
2008-12-28 14:21 jkratoch

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=20090415115213.6375.qmail@sourceware.org \
    --to=jkratoch@sourceware.org \
    --cc=archer-commits@sourceware.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.
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).