< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

RE: [reSIProcate] Uninitialized member of Condition (Win32)


It's fixed now - Thanks!

 


From: alt [mailto:alt@xxxxxxxxx]
Sent: Monday, April 25, 2005 1:04 PM
To: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
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