forked from AuroraMiddleware/gtk
Bug 554141 – uninitialized data use/free in gtkclipboard-quartz.c
2008-09-29 Richard Hult <richard@imendio.com> Bug 554141 – uninitialized data use/free in gtkclipboard-quartz.c * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents): Patch from Jon A. Cruz to initialize the allocated selection data. svn path=/trunk/; revision=21540
This commit is contained in:
parent
3f8d98b94d
commit
b29d3d4082
@ -1,3 +1,10 @@
|
||||
2008-09-29 Richard Hult <richard@imendio.com>
|
||||
|
||||
Bug 554141 – uninitialized data use/free in gtkclipboard-quartz.c
|
||||
|
||||
* gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
|
||||
Patch from Jon A. Cruz to initialize the allocated selection data.
|
||||
|
||||
2008-09-27 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
Bug 339367 – Incorrect spotlocation
|
||||
|
@ -890,7 +890,7 @@ gtk_clipboard_wait_for_contents (GtkClipboard *clipboard,
|
||||
|
||||
length = [types count] * sizeof (GdkAtom);
|
||||
|
||||
selection_data = g_slice_new (GtkSelectionData);
|
||||
selection_data = g_slice_new0 (GtkSelectionData);
|
||||
selection_data->selection = clipboard->selection;
|
||||
selection_data->target = target;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user