[reSIProcate] SdpContents::getBodyData() returns stack pointer
david Butcher
davidlbutcher at gmail.com
Wed Dec 27 12:39:25 CST 2006
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
>
More information about the resiprocate-devel
mailing list