[h323plus] crash when SessionID=0
Marek Domaracky
Marek.Domaracky at cern.ch
Wed Aug 18 11:40:47 EDT 2010
Hi,
you can find the patch in the attachment.
Thanks,
Marek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: h239_fix.patch
Type: application/octet-stream
Size: 8160 bytes
Desc: h239_fix.patch
URL: <https://lists.packetizer.com/pipermail/h323plus/attachments/20100818/9d26b633/attachment-0004.obj>
-------------- next part --------------
On Aug 18, 2010, at 5:34 PM, Jan Willamowius wrote:
> Marek,
>
> your patch didn't go into the CVS, yet. Please post your it to this
> mailing list. That gives more people a chance to look at it or put
> it into the CVS.
>
> Thanks,
> Jan
>
> Marek Domaracky wrote:
>> OK I see. So far I implement the other way.
>> I already sent the patch to Simon, but I don't know if he put it to CVS.
>> If you are interested, I can send you the patch. Would it be possible to
>> get the patch from you for the changes you did in h323plus lib?
>> Thanks,
>>
>> Marek
>>
>>
>> On 08/18/2010 04:38 PM, Igor Pavlov wrote:
>>> Now, I have no available MXP for tests :( but when I had it I found
>>> out the way to open extended video channel :
>>> 1. Send Generic request
>>> 2. Wait for Generic response
>>> 3. Send Generic Indication
>>> 4. Send OLC(extended video channel) with sessionID = 0 (!)
>>> 5. Send miscellatiousIndication LogicalChannelActive
>>>
>>> 18 Á×ÇÕÓÔÁ 2010 Ç. 18:17 ÐÏÌØÚÏ×ÁÔÅÌØ Marek Domaracky
>>> <domarack at cern.ch <mailto:domarack at cern.ch>> ÎÁÐÉÓÁÌ:
>>>
>>> Hi Igor,
>>>
>>> I'm testing as well with MXP and in my case MXP sending always 33
>>> and higher. So far I had a problem only with the Mirial.
>>> What I have so far is just one way channel from the device to my
>>> application. Are you opening extended video form your application
>>> to the MXP?
>>> If I understand correctly if you send OLC with sessionID != 0
>>> Tandberg will reject?
>>> Thanks,
>>>
>>> Marek
>>>
>>>
>>>
>>>
>>> On 08/18/2010 03:42 PM, Igor Pavlov wrote:
>>>> I wnat to enlarge...
>>>> When Tandberg (MXP) sends extended video channel, it sends
>>>> sessionID=0, and only in OLCAck it accept actual sessionID.
>>>> If send OLC for extended video with sessionID != 0 than Tandberg
>>>> MXP sends OLCReject (InvalidSessionID).
>>>>
>>>> 2010/8/18 Marek Domaracky <domarack at cern.ch
>>>> <mailto:domarack at cern.ch>>
>>>>
>>>> Hi,
>>>>
>>>> I'm working on H.239 implementation and find out that devices
>>>> might ask SessionID=0 for a new video channel. In particular
>>>> I did a test with Mirial.
>>>> I was checking the thread
>>>> http://lists.packetizer.com/pipermail/h323plus/2009-December/001269.html
>>>> and it's mentioned that the SessionID=0 is invalid.
>>>> I know it's not following the standard as for RTPSession the
>>>> range is from 1..255, but for compatibility, don't you think
>>>> we should allow it? I did a test call from Mirial to Tandberg
>>>> and Tandberg didn't have a problem with it.
>>>> The lines involved are
>>>> rtp.cxx
>>>> from PAssert(id > 0 && id < 256, PInvalidParameter); to
>>>> PAssert(id >= 0 && id < 256, PInvalidParameter);
>>>> and
>>>> h323.cxx
>>>> // We must have a valid sessionID
>>>> if (sessionID < 1 || sessionID > 255) to if (sessionID < 0
>>>> || sessionID > 255)
>>>>
>>>> Thanks,
>>>>
>>>> Marek
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> éÇÏÒØ ðÁ×ÌÏ×
>>>
>>>
>>>
>>>
>>> --
>>> éÇÏÒØ ðÁ×ÌÏ×
>
>
> --
> Jan Willamowius, jan at willamowius.de, http://www.gnugk.org/
More information about the h323plus
mailing list