[Live-devel] testRTSPClient heap corruption

Warren Young warren at etr-usa.com
Thu Apr 26 21:58:16 PDT 2012


On 4/26/2012 10:03 PM, Ross Finlayson wrote:
> The "RTSPClient" code
> needs to be more careful about not accessing "RTSPClient" object state
> after calling "handleRequestError()", because of the likelihood (which
> in fact happens in "testRTSPClient") of the "RTSPClient" object being
> deleted when the error is handled.

It might be worth Valgrinding all of the sample programs.

Valgrind runs best[*] on Linux, but a bug it finds on Linux is probably 
a bug on OS X and BSD, too.

[*] http://valgrind.org/info/platforms.html


More information about the live-devel mailing list