diff -Nru gtk+3.0-3.12.2/debian/changelog gtk+3.0-3.12.2/debian/changelog --- gtk+3.0-3.12.2/debian/changelog 2014-10-01 12:41:43.000000000 -0300 +++ gtk+3.0-3.12.2/debian/changelog 2014-10-02 10:21:17.000000000 -0300 @@ -1,3 +1,11 @@ +gtk+3.0 (3.12.2-0ubuntu11) utopic; urgency=medium + + * debian/patches/printing-property-initialize-auth_info.patch + - Fix to an upstream bug: + https://bugzilla.gnome.org/show_bug.cgi?id=737777 + + -- Dariusz Gadomski Thu, 02 Oct 2014 15:20:37 +0200 + gtk+3.0 (3.12.2-0ubuntu10) utopic; urgency=medium [ Lars Uebernickel ] diff -Nru gtk+3.0-3.12.2/debian/patches/printing-property-initialize-auth_info.patch gtk+3.0-3.12.2/debian/patches/printing-property-initialize-auth_info.patch --- gtk+3.0-3.12.2/debian/patches/printing-property-initialize-auth_info.patch 1969-12-31 21:00:00.000000000 -0300 +++ gtk+3.0-3.12.2/debian/patches/printing-property-initialize-auth_info.patch 2014-10-02 10:24:41.000000000 -0300 @@ -0,0 +1,24 @@ +Description: Properly initialize auth_info in gtkprintbackend.c + auth_info should be a NULL-terminated array as it is used in + e.g. g_strdupv invocations iterating over its elements until + a NULL element is encountered. + . + gtk+3.0 (3.12.2-0ubuntu11) utopic; urgency=medium + . + * debian/patches/printing-property-initialize-auth_info.patch + - Fix to an upstream bug: + https://bugzilla.gnome.org/show_bug.cgi?id=737777 +Author: Dariusz Gadomski +Bug: https://bugzilla.gnome.org/show_bug.cgi?id=737777 + +--- gtk+3.0-3.12.2.orig/gtk/gtkprintbackend.c ++++ gtk+3.0-3.12.2/gtk/gtkprintbackend.c +@@ -756,7 +756,7 @@ request_password (GtkPrintBackend *back + + priv->auth_info_required = g_strdupv (ai_required); + length = g_strv_length (ai_required); +- priv->auth_info = g_new0 (gchar *, length); ++ priv->auth_info = g_new0 (gchar *, length + 1); + priv->store_auth_info = FALSE; + + dialog = gtk_dialog_new_with_buttons ( _("Authentication"), NULL, GTK_DIALOG_MODAL, diff -Nru gtk+3.0-3.12.2/debian/patches/series gtk+3.0-3.12.2/debian/patches/series --- gtk+3.0-3.12.2/debian/patches/series 2014-10-01 12:41:43.000000000 -0300 +++ gtk+3.0-3.12.2/debian/patches/series 2014-10-02 10:23:16.000000000 -0300 @@ -26,3 +26,4 @@ 0001-Disable-deprecation-warnings-in-tests.patch 0001-Fight-deprecation-warnings-in-test.patch use-secrets-service-for-cups-auth_info.patch +printing-property-initialize-auth_info.patch