[Live-devel] too many open files error

Ross Finlayson finlayson at live555.com
Wed Jul 23 22:53:47 PDT 2008


>i looked at the new code live.2008.07.24. i feel there is one issue. 
>Now QuickTimeFileSink constructor is opening the file using 
>OpenOutputFile but it is not checking the return value. If file open 
>fails the filehandle will be NULL and may give core dump wherever 
>filehandle is used.
>I feel previous interface (older live source base) was correct which 
>used to return NULL to the user if file open fails.
>Similarly for AVIFileSink.
>Please let me know your opinion.

Yes, probably.
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list