binutils-gdb/gdb/python
Tom Tromey fd3ba736db Check for negative argument in Type.template_argument
typy_template_argument did not check if the template argument was
non-negative.  A negative value could cause a gdb crash.

2018-09-23  Tom Tromey  <tom@tromey.com>

	PR python/17284:
	* python/py-type.c (typy_template_argument): Check for negative
	argument number.

gdb/testsuite/ChangeLog
2018-09-23  Tom Tromey  <tom@tromey.com>

	PR python/17284:
	* gdb.python/py-template.exp (test_template_arg): Add test for
	negative template argument number.
2018-09-23 23:15:12 -06:00
..
lib/gdb [OBVIOUS] enable frame-filter short help uses disable instead of enable 2018-09-18 00:19:51 +02:00
py-all-events.def
py-arch.c
py-auto-load.c
py-block.c Add more methods to gdb.Progspace 2018-09-16 06:52:37 -06:00
py-bpevent.c gdb/python: Use copy-initialization more when possible 2018-08-24 22:57:16 +01:00
py-breakpoint.c
py-cmd.c
py-continueevent.c Change thread_to_thread_object to return a new reference 2018-09-16 07:25:57 -06:00
py-event-types.def
py-event.c
py-event.h Change thread_to_thread_object to return a new reference 2018-09-16 07:25:57 -06:00
py-events.h
py-evtregistry.c
py-evts.c
py-exitedevent.c gdb/python: Use copy-initialization more when possible 2018-08-24 22:57:16 +01:00
py-finishbreakpoint.c
py-frame.c
py-framefilter.c MI: Fix printing of frame architecture with Python frame filters enabled 2018-08-27 17:12:41 -04:00
py-function.c
py-gdb-readline.c Remove "repeat" argument from command_line_input 2018-08-17 16:39:06 -06:00
py-inferior.c [gdb/Python] Eliminate find_inferior_object 2018-09-17 19:46:40 +01:00
py-infevents.c gdb/python: Use copy-initialization more when possible 2018-08-24 22:57:16 +01:00
py-infthread.c Change thread_to_thread_object to return a new reference 2018-09-16 07:25:57 -06:00
py-instruction.c
py-instruction.h
py-lazy-string.c
py-linetable.c
py-newobjfileevent.c Change objfile_to_objfile_object to return a new reference 2018-09-16 07:25:56 -06:00
py-objfile.c Change objfile_to_objfile_object to return a new reference 2018-09-16 07:25:56 -06:00
py-param.c
py-prettyprint.c Change objfile_to_objfile_object to return a new reference 2018-09-16 07:25:56 -06:00
py-progspace.c Change objfile_to_objfile_object to return a new reference 2018-09-16 07:25:56 -06:00
py-record-btrace.c
py-record-btrace.h
py-record-full.c
py-record-full.h
py-record.c
py-record.h
py-ref.h
py-signalevent.c gdb/python: Use copy-initialization more when possible 2018-08-24 22:57:16 +01:00
py-stopevent.c Change thread_to_thread_object to return a new reference 2018-09-16 07:25:57 -06:00
py-stopevent.h
py-symbol.c
py-symtab.c Change objfile_to_objfile_object to return a new reference 2018-09-16 07:25:56 -06:00
py-threadevent.c Simplify uses of thread_to_thread_object 2018-09-16 23:36:54 -06:00
py-type.c Check for negative argument in Type.template_argument 2018-09-23 23:15:12 -06:00
py-unwind.c
py-utils.c
py-value.c Allow conversion of pointers to Python int 2018-09-23 23:15:12 -06:00
py-varobj.c Don't steal references in the gdb Python code 2018-09-16 23:48:21 -06:00
py-xmethods.c Change objfile_to_objfile_object to return a new reference 2018-09-16 07:25:56 -06:00
python-config.py
python-internal.h Don't steal references in the gdb Python code 2018-09-16 23:48:21 -06:00
python.c Report Python errors coming from gdb.post_event 2018-09-23 23:15:12 -06:00
python.h python: Make gdb.execute("show commands") work (PR 23669) 2018-09-17 08:26:24 -04:00