components/links/patches/html_r.c.patch
author Petr Cvachoucek <petr.cvachoucek@oracle.com>
Thu, 16 Feb 2012 09:29:52 -0800
changeset 693 15d71a1e47d6
parent 541 5809e4a6e342
permissions -rw-r--r--
6948608 Update Gutenprint to version 5.2.7

--- links-1.00/html_r.c_   Mon Oct 17 03:49:38 2011
+++ links-1.00/html_r.c    Mon Oct 17 04:02:38 2011
@@ -1292,6 +1292,7 @@ void html_interpret(struct session *ses)
 	struct document_options o;
 	struct f_data_c *fd, *cf = NULL;
 	/*debug("I");*/
+	memset(&o, 0, sizeof(struct document_options));
 	if (!ses->screen) {
 		ses->screen = mem_alloc(sizeof(struct f_data_c));
 		memset(ses->screen, 0, sizeof(struct f_data_c));