This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/13331] New: (cpychecker) Segfault ingdb/python/py-function.c:convert_values_to_python under low memory conditions
- From: "dmalcolm at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 21 Oct 2011 21:21:38 +0000
- Subject: [Bug python/13331] New: (cpychecker) Segfault ingdb/python/py-function.c:convert_values_to_python under low memory conditions
- Auto-submitted: auto-generated
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.