[vlc-devel] CVS Commit (jpsaman)

cvs at videolan.org cvs at videolan.org
Wed Jul 23 09:37:34 CEST 2003


Update of /var/cvs/videolan/vlc/modules/access
Modified Files:
	udp.c 

Log Message:
When recv() returns -1 a bug is triggered inside RTPRead() and RTPChoose(). The return value of Read() is then -1. The test "if (!i_ret) return 0;" will be false and the function will continue resulting in segfault while copying from buffers that are in an undetermined state. The correct test is "if (i_ret<0) return 0;".


-- 
jpsaman
-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list