[Commits] poppler_viewer.c 1.1.2.95 1.1.2.96

miras at claws-mail.org miras at claws-mail.org
Mon Mar 26 16:55:41 CEST 2012


Update of /home/claws-mail/plugins/pdf_viewer/src
In directory srv:/tmp/cvs-serv32236/src

Modified Files:
      Tag: gtk2
	poppler_viewer.c 
Log Message:
2012-03-26 [mir]	0.9.1cvs19

	* src/poppler_viewer.c
	    Prevent a crash when calling g_free on uninitialized
	    gchar* variable. 

Index: poppler_viewer.c
===================================================================
RCS file: /home/claws-mail/plugins/pdf_viewer/src/Attic/poppler_viewer.c,v
retrieving revision 1.1.2.95
retrieving revision 1.1.2.96
diff -u -d -r1.1.2.95 -r1.1.2.96
--- poppler_viewer.c	26 Mar 2012 08:22:11 -0000	1.1.2.95
+++ poppler_viewer.c	26 Mar 2012 14:55:39 -0000	1.1.2.96
@@ -532,6 +532,8 @@
 	PopplerPermissions permissions;
 	PopplerViewerPreferences view_prefs;
 
+        title = format = author = subject = keywords = creator = producer = linearized = tmp = 0;
+
 	g_object_get(viewer->pdf_doc,
 				"title", &title,
 				"format", &format,



More information about the Commits mailing list