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:
parent
62fb86a515
commit
3afc646cae
@ -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() );
|
||||
|
Loading…
Reference in New Issue
Block a user