public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/17284] New: template_argument doesn't check for negative argno
@ 2014-08-17 18:18 dje at google dot com
  0 siblings, 0 replies; only message in thread
From: dje at google dot com @ 2014-08-17 18:18 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=17284

            Bug ID: 17284
           Summary: template_argument doesn't check for negative argno
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: python
          Assignee: unassigned at sourceware dot org
          Reporter: dje at google dot com

py-type.c:typy_template_argument does not check for negative values of argno.

repro: take a binary built by py-template.exp, and do
(gdb) python print foo.type.template_argument(-1)
-> SEGV (or whatever)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-08-17 18:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-17 18:18 [Bug python/17284] New: template_argument doesn't check for negative argno dje at google 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).