This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [obv] Fix crash in c_get_string
- From: Tom Tromey <tromey at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org, Thiago Jung Bauermann <bauerman at br dot ibm dot com>
- Date: Wed, 15 Apr 2009 11:43:26 -0600
- Subject: Re: [obv] Fix crash in c_get_string
- References: <20090414220233.GA9093@host0.dyn.jankratochvil.net>
- Reply-to: tromey at redhat dot com
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Jan> during a failed string read - as when pretty-printing
Jan> uninitialized std::string - GDB could crash.
Thanks, Jan.
Jan> I have a testcase requiring GDB pretty-printing which is not in
Jan> FSF GDB now so the test should get in later. Did not check how
Jan> to reproduce it more easily.
I made a note to pull this patch in after the pretty-printing series
goes in. If you'd rather, though, you can do it :-)
Tom