[Live-devel] segfault in JPEGVideoRTPSink::specialHeaderSize()

Ross Finlayson finlayson at live555.com
Mon Apr 21 01:39:15 PDT 2008


>Hi,
>I'm working with the latest version of the livemedia lib and I have 
>the same problem (a random segfault) which is signaled in this 
>thread 
>"<http://lists.live555.com/pipermail/live-devel/2007-July/007244.html>[Live-devel] 
>Problem in sending PAUSE and then PLAY request in openrtsp"
>I can solve  the problem by applying  manually the proposed patch in 
>the same thread, because the patch itself is not part of the latest 
>version...

Which specific patch are you referring to?

If you are referring to the patch that's mentioned here
	http://lists.live555.com/pipermail/live-devel/2007-July/007245.html
then that has already been implemented, except for a sanity check in 
the function "JPEGVideoRTPSink::specialHeaderSize()".  That can be 
fixed by adding the line:

	if (source == NULL) return 0; // sanity check

at line 109.  This will be included in the next release of the software.

(However, this really shouldn't be necesary, because people should 
not really be calling these functions on "JPEGVideoRTPSink" objects 
if they don't yet have a source to read from.)
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20080421/75a9c1fe/attachment.html 


More information about the live-devel mailing list