[Ffmpeg-devel] poll() emulation for ffserver

matthieu castet castet.matthieu
Wed Feb 14 23:24:41 CET 2007


Fran?ois Revol wrote:
>> matthieu castet wrote:
> 
> Now, seems the one in glibc doesn't do any more checking...
> glibc/sysdeps/unix/bsd/poll.c simply takes any fd >= 0.
> It does allocate the fd_set with the max fd size, but not checking each 
> fd to be in that bound.
> At least the version I have here, which is quite old.
On newer they test it (and if it is bigger they increase the select 
FD_SETSIZE. They can do it because they know the internal :) )



> How about this one ?
Look fine for me.


Matthieu




More information about the ffmpeg-devel mailing list