diff --git a/src/plugins/auth/auth_munge.c b/src/plugins/auth/auth_munge.c index 11cefc3089a76dd98a8a5a38d973b220510f6a9b..bff4aa1236b649616d09dff470c6c37f44413792 100644 --- a/src/plugins/auth/auth_munge.c +++ b/src/plugins/auth/auth_munge.c @@ -462,6 +462,7 @@ _decode_cred(char *m, slurm_auth_credential_t *c) * Block all signals to allow munge_decode() to proceed * uninterrupted. (Testing for gnats slurm/223) */ + sigemptyset(&oset); /* for clean valgrind */ sigfillset(&set); sigdelset(&set, SIGABRT); sigdelset(&set, SIGSEGV); diff --git a/src/srun/allocate.c b/src/srun/allocate.c index 2f382fc47b5777429f5e392e06791138e5d112a7..2bc9b2e5261ccc3aae755ea9085558c1dc222447 100644 --- a/src/srun/allocate.c +++ b/src/srun/allocate.c @@ -76,6 +76,7 @@ allocate_nodes(void) ointf = xsignal(SIGINT, _intr_handler); otermf = xsignal(SIGTERM, _intr_handler); + sigemptyset(&oset); /* for clean valgrind */ xsignal_save_mask(&oset); xsignal_unblock(sigarray);