hotspot/src/os/posix/vm/os_posix.cpp
changeset 46558 13de3946d61e
parent 46508 278005442848
child 46618 d503911aa948
--- a/hotspot/src/os/posix/vm/os_posix.cpp	Thu Jun 22 13:59:00 2017 -0700
+++ b/hotspot/src/os/posix/vm/os_posix.cpp	Tue Jun 13 08:09:17 2017 +0200
@@ -760,6 +760,7 @@
 #else
   // Use sigaddset to check for signal validity.
   sigset_t set;
+  sigemptyset(&set);
   if (sigaddset(&set, sig) == -1 && errno == EINVAL) {
     return false;
   }