From e47bab3fd8b25069a037c6439ba39d60b991363b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Mon, 15 Jul 2019 17:35:09 +0200 Subject: kdesktop: Add missing initialization of sigset_t in kdesktop_lock. This resolves bug 3025. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko Signed-off-by: Michele Calgaro --- kdesktop/lock/main.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'kdesktop/lock') diff --git a/kdesktop/lock/main.cc b/kdesktop/lock/main.cc index 4960b8d01..114ce7ef0 100644 --- a/kdesktop/lock/main.cc +++ b/kdesktop/lock/main.cc @@ -243,6 +243,7 @@ int main( int argc, char **argv ) sigset_t orig_mask; // Block reception of all signals in this thread + sigfillset(&new_mask); sigprocmask(SIG_BLOCK, &new_mask, NULL); signalled_forcelock = FALSE; -- cgit v1.2.1