mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
Fix a silly bug.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15131
This commit is contained in:
parent
4bd1c66504
commit
3e50adbd1c
@ -1314,7 +1314,7 @@ Bool VG_(am_is_bogus_client_stack_pointer)( Addr addr )
|
||||
/* If the abutting segment towards lower addresses is an SkResvn
|
||||
segment, then ADDR is a stack pointer into mapped memory. */
|
||||
const NSegment *next = VG_(am_next_nsegment)(seg, /*forward*/ False);
|
||||
if (next == NULL || next->kind != SkResvn || seg->smode != SmUpper)
|
||||
if (next == NULL || next->kind != SkResvn || next->smode != SmUpper)
|
||||
return True;
|
||||
|
||||
/* OK; looks like a stack segment */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user