public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "pmuldoon at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug python/11417] lazy string of zero length requires a valid pointer
Date: Thu, 08 Apr 2010 10:30:00 -0000	[thread overview]
Message-ID: <20100408103010.31083.qmail@sourceware.org> (raw)
In-Reply-To: <20100322152946.11417.zilla@kayari.org>


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2010-04-08 10:28 -------
Subject: Bug 11417

CVSROOT:	/cvs/src
Module name:	src
Changes by:	pmuldoon@sourceware.org	2010-04-08 10:28:42

Modified files:
	gdb            : ChangeLog 
	gdb/python     : py-lazy-string.c 
	gdb/testsuite  : ChangeLog 
	gdb/testsuite/gdb.python: py-value.c py-value.exp 

Log message:
	2010-04-08  Phil Muldoon  <pmuldoon@redhat.com>
	
	PR python/11417
	
	* python/py-lazy-string.c (stpy_convert_to_value): Check for
	a NULL address.
	(gdbpy_create_lazy_string_object): Allow strings with a NULL
	address and a zero length.
	
	2010-04-08  Phil Muldoon  <pmuldoon@redhat.com>
	
	* gdb.python/py-value: Add null string variable.
	(test_lazy_string): Test zero length, NULL address lazy
	strings.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.11587&r2=1.11588
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/py-lazy-string.c.diff?cvsroot=src&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2226&r2=1.2227
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/py-value.c.diff?cvsroot=src&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/py-value.exp.diff?cvsroot=src&r1=1.7&r2=1.8


------- Additional Comments From pmuldoon at redhat dot com  2010-04-08 10:30 -------
Commited fix upstream, see comment #2.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|7.1                         |7.2


http://sourceware.org/bugzilla/show_bug.cgi?id=11417

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


      parent reply	other threads:[~2010-04-08 10:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-22 15:29 [Bug python/11417] New: " zilla at kayari dot org
2010-03-24 17:23 ` [Bug python/11417] " pmuldoon at redhat dot com
2010-04-08 10:30 ` pmuldoon at redhat dot com [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=20100408103010.31083.qmail@sourceware.org \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@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).