[Live-devel] segmentation fault with latest version

Denis Charmet dcharmet at uniways.fr
Fri Jun 11 08:29:33 PDT 2010


Ross Finlayson wrote:
>> I tried to use vlc with the latest version.
>> I thought it would work as you say it is backward compatible, but I 
>> have a
>> segmentation fault.
>> I think the line 136 in RTSPClient.cpp is buggy because if 
>> parameterName is
>> NULL, sprintf segfaults.
>
> Oops, yes - my mistake.   This will be fixed in the next release.
I'd like to add another (once this one is patched) in 
RTSPClient::constructSubsessionURL() on line  1169.

if prefix is NULL, it's set to "" so strlen(prefix) will return 0 so you 
try to look at prefix[-1]

Regards,

-- 
Denis Charmet


More information about the live-devel mailing list