# HG changeset patch # User Matt Johnston # Date 1134042333 0 # Node ID 541b14504870f6df3e11685e27dc420d80ca5e29 # Parent c66797d973ffccd14c2f217410b8e2e6aaaa5358 * fix incorrect array sizing diff -r c66797d973ff -r 541b14504870 svr-chansession.c --- a/svr-chansession.c Thu Dec 08 08:17:42 2005 +0000 +++ b/svr-chansession.c Thu Dec 08 11:45:33 2005 +0000 @@ -810,7 +810,7 @@ /* 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++; }