Commit b29d3d40 authored by Richard Hult's avatar Richard Hult Committed by Richard Hult

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
parent 3f8d98b9
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment