[vlc-devel] Re: vlc: svn commit r18992 (fenrir)

Remi Denis-Courmont rem at videolan.org
Mon Feb 26 12:00:18 CET 2007


On Sun, 25 Feb 2007 12:35:46 +0100 (CET), Subversion daemon <svn at videolan.org> wrote:
> r18992 | fenrir | 2007-02-25 12:35:45 +0100 (Sun, 25 Feb 2007) | 4 lines
> Changed paths:
>    M /trunk/src/network/httpd.c
> 
> Fixed httpd stack corruption.
> (Fixed 'assert (pufd < ufd + (sizeof (ufd) / sizeof (ufd[0])))' reported
>  by xxcv)

Oops... curious it did not crash on me in the first place.

Though... I am not sure if this fix actually works. The other assert might fail (?).

Perhaps we should handle listening socket events AFTER client socket events, instead.
Then, there should be no overflow problem.

--
Rémi Denis-Courmont
http://www.remlab.net/

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list