From: <arc...@us...> - 2013-02-15 00:44:57
|
Revision: 640 http://sourceforge.net/p/sipp/code/640 Author: arcady-91 Date: 2013-02-15 00:44:53 +0000 (Fri, 15 Feb 2013) Log Message: ----------- Changing alloca to variable-length array Modified Paths: -------------- sipp/trunk/sipp.cpp Modified: sipp/trunk/sipp.cpp =================================================================== --- sipp/trunk/sipp.cpp 2013-02-15 00:44:47 UTC (rev 639) +++ sipp/trunk/sipp.cpp 2013-02-15 00:44:53 UTC (rev 640) @@ -3781,7 +3781,7 @@ void rtp_echo_thread (void * param) { - char *msg = (char*)alloca(media_bufsize); + char msg[media_bufsize]; size_t nr, ns; sipp_socklen_t len; struct sockaddr_storage remote_rtp_addr; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |