[reSIProcate] Uninitialized member of Condition (Win32)

alt alt at kaluga.ru
Mon Apr 25 12:04:21 CDT 2005


Hi All

 

m_blocked member of Condition class is used without having been initialized.

It leads to crash on some circumstances.

 

To fix - just zero it in constructor within next section:

#ifdef RESIP_CONDITION_WIN32_CONFORMANCE_TO_POSIX

m_blocked = 0

.

#endif

 

Us you see it only for Win32 and if
RESIP_CONDITION_WIN32_CONFORMANCE_TO_POSIX defined

 

Alex

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20050425/3208c1b2/attachment.htm>


More information about the resiprocate-devel mailing list