|
From: <sv...@va...> - 2015-02-23 21:56:26
|
Author: florian
Date: Mon Feb 23 21:56:16 2015
New Revision: 14956
Log:
Revert r14954. If the end of a segment is 0xfffff.....fffff
then end + 1 == 0 and any start address will be >= end.
Think some more.....
Modified:
trunk/coregrind/m_aspacemgr/aspacemgr-linux.c
Modified: trunk/coregrind/m_aspacemgr/aspacemgr-linux.c
==============================================================================
--- trunk/coregrind/m_aspacemgr/aspacemgr-linux.c (original)
+++ trunk/coregrind/m_aspacemgr/aspacemgr-linux.c Mon Feb 23 21:56:16 2015
@@ -685,7 +685,7 @@
if (s == NULL) return False;
/* No zero sized segments and no wraparounds. */
- if (s->start >= s->end + 1) return False;
+ if (s->start >= s->end) return False;
/* require page alignment */
if (!VG_IS_PAGE_ALIGNED(s->start)) return False;
|