From 3afc646cae92e38ae1b42dc5d0e932442dafe129 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 12 Oct 2008 20:57:19 +0000 Subject: [PATCH] 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 --- tests/net/socket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/net/socket.cpp b/tests/net/socket.cpp index 9145c276be..e77ff20aba 100644 --- a/tests/net/socket.cpp +++ b/tests/net/socket.cpp @@ -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() ); -- 2.45.2