Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fully initialize struct, and please valgrind.
[simgrid.git] / src / kernel / context / ContextThread.cpp
index a2b2165..991e60a 100644 (file)
@@ -203,7 +203,7 @@ void ThreadContext::stop()
   xbt_os_sem_release(this->end_);
 
 #ifndef WIN32
-  stack_t stack;
+  stack_t stack  = {0};
   stack.ss_flags = SS_DISABLE;
   sigaltstack(&stack, nullptr);
 #endif