[vlc-devel] CVS Commit (jpsaman)

cvs at videolan.org cvs at videolan.org
Wed Aug 13 15:54:02 CEST 2003


Update of /var/cvs/videolan/vlc/src/input
Modified Files:
	input_ext-plugins.c 

Log Message:
Fixed segmentation fault in input_SplitBuffer() when input_FillBuffer() could not allocate (actually input_NewBuffer()) another buffer. The code tested for:
if (!i_size)
{
  /* Handle error */
}

However input_SplitBuffer() returns -1, which results in if (false) here and a segmentation fault will happen when input_ShareBuffer() is called. All constructs of the above form are supicious to produce a segfault in the code!


-- 
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