From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31098 invoked by alias); 8 Apr 2010 10:30:10 -0000 Received: (qmail 31084 invoked by uid 48); 8 Apr 2010 10:30:10 -0000 Date: Thu, 08 Apr 2010 10:30:00 -0000 Message-ID: <20100408103010.31083.qmail@sourceware.org> From: "pmuldoon at redhat dot com" To: gdb-prs@sourceware.org In-Reply-To: <20100322152946.11417.zilla@kayari.org> References: <20100322152946.11417.zilla@kayari.org> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug python/11417] lazy string of zero length requires a valid pointer X-Bugzilla-Reason: CC Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2010-q2/txt/msg00053.txt.bz2 ------- 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 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 * 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.