[reSIProcate] SdpContents::getBodyData() returns stack pointer
Byron Campen
bcampen at estacado.net
Mon Jan 29 12:37:41 CST 2007
Did you ever figure out what was going on here? Looking at the code,
this sort of thing is done all the time in the stack.
Best regards,
Byron Campen
> I just noticed it while running my code. I'll see if I can work up a
> testcase for it and send it out.
>
> Thanks.
>
>
> On 12/27/06 1:39 PM, "david Butcher" <davidlbutcher at gmail.com> wrote:
>
>> The Data is returned by value (in head version), so should be copied.
>>
>> If you are having problems with it, it suggests an issue with the
>> memory management underlying Data. This is unlikely, but not
>> impossible.
>>
>> Do you have a test case?
>>
>> david
>>
>> On 12/27/06, Will McKinley <wmckinle at cisco.com> wrote:
>>> SdpContents::getBodyData() creates a Data object on the stack and
>>> attempts
>>> to return it. This fails at runtime and points to nowhere.
>>> Perhaps this
>>> method needs to be redefined so that the caller passes in a
>>> reference to a
>>> Data object that is filled in by the session encoding?
>>>
>>> Thanks for your help.
>>>
>>> Will McKinley
>>> _______________________________________________
>>> resiprocate-devel mailing list
>>> resiprocate-devel at list.resiprocate.org
>>> https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
>>>
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel at list.resiprocate.org
> https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2423 bytes
Desc: not available
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20070129/2345ab71/attachment.bin>
More information about the resiprocate-devel
mailing list