Andrew Burgess
e0c23e11da
gdb/python: don't allow the user to delete window title attributes
...
There's a bug in the python tui API. If the user tries to delete the
window title attribute then this will trigger undefined behaviour in
GDB due to a missing nullptr check.
gdb/ChangeLog:
* python/py-tui.c (gdbpy_tui_set_title): Check that the new value
for the title is not nullptr.
gdb/testsuite/ChangeLog:
* gdb.python/tui-window.exp: Add new tests.
* gdb.python/tui-window.py (TestWindow) <__init__>: Store
TestWindow object into global the_window.
<remote_title>: New method.
(delete_window_title): New function.
2021-02-08 11:55:05 +00:00
..
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-13 11:57:24 -05:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-21 18:55:45 +01:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-02-07 19:08:23 +01:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-20 20:55:05 -05:00
2021-01-28 10:12:10 -05:00
2021-01-01 12:12:21 +04:00
2021-01-20 20:55:05 -05:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-20 20:55:05 -05:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-02-08 11:55:05 +00:00
2021-01-28 10:09:02 -05:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-13 11:57:24 -05:00
2021-02-08 11:03:54 +00:00
2021-01-01 12:12:21 +04:00