[reSIProcate] Uninitialized member of Condition (Win32)

Scott Godin slgodin at icescape.com
Mon Apr 25 12:22:24 CDT 2005


It's fixed now - Thanks!

 

  _____  

From: alt [mailto:alt at kaluga.ru] 
Sent: Monday, April 25, 2005 1:04 PM
To: resiprocate-devel at list.sipfoundry.org
Subject: [reSIProcate] Uninitialized member of Condition (Win32)

 

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/598b7bb2/attachment.htm>


More information about the resiprocate-devel mailing list