diff svr-chansession.c @ 1344:b90da477ab63 coverity

merge coverity
author Matt Johnston <matt@ucc.asn.au>
date Thu, 18 May 2017 23:02:39 +0800
parents 79225928bf59
children 06d52bcb8094
line wrap: on
line diff
--- a/svr-chansession.c	Fri Jul 22 00:08:02 2016 +0800
+++ b/svr-chansession.c	Thu May 18 23:02:39 2017 +0800
@@ -634,7 +634,7 @@
 static int sessioncommand(struct Channel *channel, struct ChanSess *chansess,
 		int iscmd, int issubsys) {
 
-	unsigned int cmdlen;
+	unsigned int cmdlen = 0;
 	int ret;
 
 	TRACE(("enter sessioncommand"))