From 11110dbdd638571896cfddf923143030fde2b502 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Tue, 29 Apr 2014 15:33:57 +0200 Subject: [PATCH] Fixed uninitialized semaphore in shared memory code. --- lib/shared_memory.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/shared_memory.cpp b/lib/shared_memory.cpp index e694e5dd..1fa0b056 100644 --- a/lib/shared_memory.cpp +++ b/lib/shared_memory.cpp @@ -526,6 +526,7 @@ namespace IPC { hasCounter = 0; payLen = 0; offsetOnPage = 0; + mySemaphore = 0; } sharedClient::sharedClient(const sharedClient & rhs ) {