The unified diff between revisions [a4cab2b4..] and [9169f571..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'svr-chansession.c'

#
#
# patch "svr-chansession.c"
#  from [8b52f1a622321b7cf4ed3ac6f69e7241d14d324d]
#    to [ab83b6c177a51cefc83b038932c9fc1e9b296692]
#
============================================================
--- svr-chansession.c	8b52f1a622321b7cf4ed3ac6f69e7241d14d324d
+++ svr-chansession.c	ab83b6c177a51cefc83b038932c9fc1e9b296692
@@ -810,7 +810,7 @@ static void addchildpid(struct ChanSess
 	/* need to increase size */
 	if (i == svr_ses.childpidsize) {
 		svr_ses.childpids = (struct ChildPid*)m_realloc(svr_ses.childpids,
-				sizeof(struct ChildPid) * svr_ses.childpidsize+1);
+				sizeof(struct ChildPid) * (svr_ses.childpidsize+1));
 		svr_ses.childpidsize++;
 	}