public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/13331] New: (cpychecker) Segfault in gdb/python/py-function.c:convert_values_to_python under low memory conditions
@ 2011-10-21 21:22 dmalcolm at redhat dot com
  2011-10-24 13:21 ` [Bug python/13331] " pmuldoon at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dmalcolm at redhat dot com @ 2011-10-21 21:22 UTC (permalink / raw)
  To: gdb-prs

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

             Bug #: 13331
           Summary: (cpychecker) Segfault in
                    gdb/python/py-function.c:convert_values_to_python
                    under low memory conditions
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: python
        AssignedTo: unassigned@sourceware.org
        ReportedBy: dmalcolm@redhat.com
    Classification: Unclassified


Created attachment 6025
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6025
HTML report showing the execution paths that can crash

convert_values_to_python doesn't check the return value from PyTuple_New, which
can return NULL under low memory conditions.

If it returns NULL and argc > 0 then there are two different segfaults
possible; see attached HTML.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-10-27 10:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-21 21:22 [Bug python/13331] New: (cpychecker) Segfault in gdb/python/py-function.c:convert_values_to_python under low memory conditions dmalcolm at redhat dot com
2011-10-24 13:21 ` [Bug python/13331] " pmuldoon at redhat dot com
2011-10-27 10:30 ` cvs-commit at gcc dot gnu.org
2011-10-27 10:32 ` pmuldoon at redhat dot com

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).