don't allocate a too big buffer on stack

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2008-10-12 20:57:19 +00:00
parent 62fb86a515
commit 3afc646cae

View File

@ -141,7 +141,7 @@ void SocketTestCase::ReadNormal()
CPPUNIT_ASSERT_EQUAL( WXSIZEOF(bufSmall), sock->LastCount() );
char bufBig[1024*1024];
char bufBig[102400];
sock->Read(bufBig, WXSIZEOF(bufBig));
CPPUNIT_ASSERT_EQUAL( wxSOCKET_NOERROR, sock->LastError() );