diff --git a/relay32/snoop.c b/relay32/snoop.c index 58a89e49f30..692a097a8ee 100644 --- a/relay32/snoop.c +++ b/relay32/snoop.c @@ -214,7 +214,8 @@ SNOOP_PrintArg(DWORD x) { if ( !HIWORD(x) || !VirtualQuery((LPVOID)x,&mbi,sizeof(mbi)) || - !mbi.Type + !mbi.Type || + (mbi.Protect == PAGE_NOACCESS) ) { sprintf(buf,"%08lx",x); return buf;