mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
fix invalid list node accesses, spotted by Benjamin Berg, bug #475158.
2007-09-09 18:22:28 Tim Janik <timj@gtk.org> * gdk/x11/gdkgeometry-x11.c (_gdk_window_process_expose): fix invalid list node accesses, spotted by Benjamin Berg, bug #475158. svn path=/trunk/; revision=18769
This commit is contained in:
parent
cc7e7db612
commit
57e8bdcb54
@ -1,3 +1,8 @@
|
||||
2007-09-09 18:22:28 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gdk/x11/gdkgeometry-x11.c (_gdk_window_process_expose): fix invalid
|
||||
list node accesses, spotted by Benjamin Berg, bug #475158.
|
||||
|
||||
2007-09-09 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
Reverted r16699:
|
||||
|
@ -1142,6 +1142,7 @@ _gdk_window_process_expose (GdkWindow *window,
|
||||
while (tmp_list)
|
||||
{
|
||||
GdkWindowQueueItem *item = tmp_list->data;
|
||||
GList *next = tmp_list->next;
|
||||
if (item->serial - serial < 0x7FFFFFFF)
|
||||
{
|
||||
if (item->window == window)
|
||||
@ -1173,7 +1174,7 @@ _gdk_window_process_expose (GdkWindow *window,
|
||||
queue_delete_link (display_x11->translate_queue, tmp_list);
|
||||
queue_item_free (item);
|
||||
}
|
||||
tmp_list = tmp_list->next;
|
||||
tmp_list = next;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user