This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [obv] Fix crash in c_get_string


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]