24 Jul 2012 13:08
Unitialized value
I'm having some problems and debugging with Valgrin, it's raising a "Conditional jump or move depends on uninitialised value(s)" error. Looking at the code i have got that ProxyServerMediaSession::fClientMediaSession is not being initialized, waiting until the ProxyServerMediaSession::afterDescribe is being called, so for example at destructor would be able to cause problems. Just setting it to NULL on the constructor would be enought. -- -- Jesús Leganés Combarro Software developer at Vaelsys
In fact, i have done it on my copy of the code and some
SEGFAULTs where fixed just doing this... :-D
It would be good (if you have time) to pass Valgrind on the library to
catch more things like this, since i'm getting some other messages
suspect to have the same problem... :-/
2012/7/24 Ross Finlayson <
RSS Feed