[Live-devel] Another segmentation fault in latest live555

Ross Finlayson finlayson at live555.com
Mon Jun 14 15:55:25 PDT 2010


>It seems that the use of getMediaSessionParameter launch a 
>sendRequest( "GET_PARAMETER" ) with a NULL session and subsession.

Thanks for reporting this.

The fix is to change 134 from
	  unsigned result = sendRequest(new RequestRecord(++fCSeq, 
"GET_PARAMETER", responseHandler, NULL, NULL, False, 0.0, 0.0, 0.0, 
paramString));
to
	  unsigned result = sendRequest(new RequestRecord(++fCSeq, 
"GET_PARAMETER", responseHandler, &session, NULL, False, 0.0, 0.0, 
0.0, paramString));

There's a similar fix needed on line 114 for "SET_PARAMETER"

These will be fixed in the next release of the software.
-- 

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


More information about the live-devel mailing list