~ubuntu-branches/ubuntu/dapper/gtk+2.0/dapper-updates

« back to all changes in this revision

Viewing changes to debian/patches/010_from_cvs_fix_shift_dnd_lock_on_calendar.patch

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2007-01-29 22:18:54 UTC
  • mfrom: (20.1.3 dapper-updates)
  • Revision ID: james.westby@ubuntu.com-20070129221854-5kgr1t4hv1b4d8nh
Tags: 2.8.20-0ubuntu1.1
* SECURITY UPDATE: denial of service in image loader library.
* Add 'debian/patches/091_from_cvs_fix_pixbuf_loader.patch' adapted from
  upstream to cleanly close loaders on failure.
* References
  CVE-2007-0010

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
===================================================================
2
 
RCS file: /cvs/gnome/gtk+/gtk/gtkcalendar.c,v
3
 
retrieving revision 1.107
4
 
retrieving revision 1.108
5
 
diff -u -r1.107 -r1.108
6
 
--- gtkcalendar.c       2006/04/16 05:01:46     1.107
7
 
+++ gtk+/gtk/gtkcalendar.c      2006/05/18 19:26:02     1.108
8
 
@@ -3014,7 +3014,7 @@
9
 
     }
10
 
   
11
 
   target = gtk_drag_dest_find_target (widget, context, NULL);
12
 
-  if (target == GDK_NONE)
13
 
+  if (target == GDK_NONE || context->suggested_action == 0)
14
 
     gdk_drag_status (context, 0, time);
15
 
   else
16
 
     {