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

[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