|
From: <sv...@va...> - 2013-01-21 20:30:06
|
florian 2013-01-21 20:29:54 +0000 (Mon, 21 Jan 2013)
New Revision: 13255
Log:
Remove unneeded test. "info" cannot be NULL here as it was dereferenced
previously. Spotted by Coverity's checker.
Modified files:
trunk/coregrind/m_signals.c
Modified: trunk/coregrind/m_signals.c (+1 -1)
===================================================================
--- trunk/coregrind/m_signals.c 2013-01-21 15:39:44 +00:00 (rev 13254)
+++ trunk/coregrind/m_signals.c 2013-01-21 20:29:54 +00:00 (rev 13255)
@@ -1681,7 +1681,7 @@
VG_(pp_ExeContext)( ec );
}
if (sigNo == VKI_SIGSEGV
- && info && is_signal_from_kernel(tid, sigNo, info->si_code)
+ && is_signal_from_kernel(tid, sigNo, info->si_code)
&& info->si_code == VKI_SEGV_MAPERR) {
VG_(umsg)(" If you believe this happened as a result of a stack\n" );
VG_(umsg)(" overflow in your program's main thread (unlikely but\n");
|