[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] Bug in RTCP APP and BYE handling code (oRTP lib)

From: Dmitry Sobinov
Subject: [Linphone-developers] Bug in RTCP APP and BYE handling code (oRTP lib)
Date: Wed, 8 Dec 2010 13:34:44 +0600

Hi everyone.

I've found bug in oRTP library. Some code in rtcpparse.c that works with APP and BYE packet types
does not correctly calculates data lengths using rtcp_common_header_get_length(). For example:

int datalen=sizeof(rtcp_common_header_t)+rtcp_common_header_get_length(&app->ch)-8;

Result of rtcp_common_header_get_length() should be multiplied by 4 to get size in bytes,
but it seems someone forgot to fix this in some places.

I've attached the patch.

Dmitry Sobinov

Attachment: ortp.patch
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]