Add two patches to fix boo#933034: + Add gtk2-bgo743166-remember-printing-authentication.patch: Allow credentials from gnome-keyring to be used for printing in GTK 2 (bgo#743166) + Add gtk2-bgo737777-fix-printing-authentication-crash.patch: Fix applications from randomly crashing while printing with a password-secured SMB printer (bgo#737777) OBS-URL: https://build.opensuse.org/request/show/309633 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk2?expand=0&rev=228
15 lines
533 B
Diff
15 lines
533 B
Diff
@@ -, +, @@
|
|
gtk/gtkprintbackend.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
--- a/gtk/gtkprintbackend.c
|
|
+++ a/gtk/gtkprintbackend.c
|
|
@@ -756,7 +756,7 @@ request_password (GtkPrintBackend *backend,
|
|
|
|
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,
|