From: Craig S. <cso...@us...> - 2006-06-30 05:26:46
|
Update of /cvsroot/openh323/openh323/src In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv11813/src Modified Files: gkclient.cxx Log Message: Applied 1509255 - Checking whether SetSize succeeds in GkClient Thanks to Borko Jandras Index: gkclient.cxx =================================================================== RCS file: /cvsroot/openh323/openh323/src/gkclient.cxx,v retrieving revision 1.162 retrieving revision 1.163 diff -C2 -d -r1.162 -r1.163 *** gkclient.cxx 9 Jun 2006 06:30:12 -0000 1.162 --- gkclient.cxx 30 Jun 2006 05:26:43 -0000 1.163 *************** *** 28,31 **** --- 28,35 ---- * * $Log$ + * Revision 1.163 2006/06/30 05:26:43 csoutheren + * Applied 1509255 - Checking whether SetSize succeeds in GkClient + * Thanks to Borko Jandras + * * Revision 1.162 2006/06/09 06:30:12 csoutheren * Remove compile warning and errors with gcc *************** *** 1858,1862 **** PINDEX sz = irr.m_perCallInfo.GetSize(); ! irr.m_perCallInfo.SetSize(sz+1); H225_InfoRequestResponse_perCallInfo_subtype & info = irr.m_perCallInfo[sz]; --- 1862,1867 ---- PINDEX sz = irr.m_perCallInfo.GetSize(); ! if (!irr.m_perCallInfo.SetSize(sz+1)) ! return; H225_InfoRequestResponse_perCallInfo_subtype & info = irr.m_perCallInfo[sz]; |