diff options
author | Jeffrey Walton <noloader@gmail.com> | 2020-12-07 00:48:40 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2020-12-07 00:48:40 -0500 |
commit | f2d726b0924fb1f9c701a2e8b3fce64461b6873b (patch) | |
tree | 1e4f8f513cd049d7296054f2e6bfb351a2a2b943 /trap.h | |
parent | c6c575aa492c5f8cd8a34412f7a251a33fe1d5bb (diff) | |
download | cryptopp-git-f2d726b0924fb1f9c701a2e8b3fce64461b6873b.tar.gz |
Fix DebugTrapHandler
The class should have used SIGTRAP, not SIGILL
Diffstat (limited to 'trap.h')
-rw-r--r-- | trap.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -151,9 +151,9 @@ NAMESPACE_BEGIN(CryptoPP) /// <A HREF="http://seclists.org/oss-sec/2016/q3/520">CVE-2016-7420</A>
#if defined(CRYPTOPP_DOXYGEN_PROCESSING)
-class DebugTrapHandler : public SignalHandler<SIGILL, false> { };
+class DebugTrapHandler : public SignalHandler<SIGTRAP, false> { };
#else
-typedef SignalHandler<SIGILL, false> DebugTrapHandler;
+typedef SignalHandler<SIGTRAP, false> DebugTrapHandler;
#endif
#endif // Linux, Unix and Documentation
|