summaryrefslogtreecommitdiffstats
path: root/kdesktop/lock
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2019-07-15 17:35:09 +0200
committerMichele Calgaro <[email protected]>2019-07-19 22:51:25 +0900
commite47bab3fd8b25069a037c6439ba39d60b991363b (patch)
tree9967cb7ef3a4a812ce75dbfcf18f220d7827e415 /kdesktop/lock
parente99bc2306cf176885b518c904960c0d2cbce7bd9 (diff)
downloadtdebase-e47bab3fd8b25069a037c6439ba39d60b991363b.tar.gz
tdebase-e47bab3fd8b25069a037c6439ba39d60b991363b.zip
kdesktop: Add missing initialization of sigset_t in kdesktop_lock. This resolves bug 3025.
Signed-off-by: Slávek Banko <[email protected]> Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kdesktop/lock')
-rw-r--r--kdesktop/lock/main.cc1
1 files changed, 1 insertions, 0 deletions
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;