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.....
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14956 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/m_aspacemgr/aspacemgr-linux.c b/coregrind/m_aspacemgr/aspacemgr-linux.c
index 039b0d5..25f3049 100644
--- a/coregrind/m_aspacemgr/aspacemgr-linux.c
+++ b/coregrind/m_aspacemgr/aspacemgr-linux.c
@@ -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;