git: 9front

Download patch

ref: fd7ea7beea8547aaf1cb422e8abbda5272b9d264
parent: 0f9af22781729be05f3667cd6bafe68c0f226fef
author: BurnZeZ <brz-9dev@intma.in>
date: Tue Oct 29 23:12:53 EDT 2013

smtp: fix free on uninitialized pointer

--- a/sys/src/cmd/upas/smtp/smtp.c
+++ b/sys/src/cmd/upas/smtp/smtp.c
@@ -328,6 +328,7 @@
 	int fd;
 	uchar hash[SHA1dlen];
 
+	goodcerts = nil;
 	err = Giveup;
 	c = mallocz(sizeof(*c), 1);
 	if (c == nil)
--