|
From: <sv...@va...> - 2015-08-19 10:09:15
|
Author: florian
Date: Wed Aug 19 11:09:08 2015
New Revision: 15568
Log:
Fix comparison in function VG_(iseqsigset).
Patch by dc...@ho...
Fixes BZ #351474.
Modified:
trunk/NEWS
trunk/coregrind/m_libcsignal.c
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Wed Aug 19 11:09:08 2015
@@ -307,6 +307,7 @@
350854 hard-to-understand code in VG_(load_ELF)()
351140 arm64 syscalls setuid (146) and setresgid (149) not implemented
351386 Cannot run ld.so.1 under Valgrind
+351474 Fix VG_(iseqsigset) as obvious
n-i-bz Provide implementations of certain compiler builtins to support
compilers who may not provide those
n-i-bz Old STABS code is still being compiled, but never used. Remove it.
Modified: trunk/coregrind/m_libcsignal.c
==============================================================================
--- trunk/coregrind/m_libcsignal.c (original)
+++ trunk/coregrind/m_libcsignal.c Wed Aug 19 11:09:08 2015
@@ -131,7 +131,7 @@
else {
/* Partial word comparison. */
ULong mask = (1UL << (_VKI_MAXSIG % _VKI_NSIG_BPW)) - 1;
- if ((set1->sig[i] & mask) != (set1->sig[i] & mask)) return False;
+ if ((set1->sig[i] & mask) != (set2->sig[i] & mask)) return False;
break;
}
}
|