Commit 2352cf79 authored by Juergen Schmied's avatar Juergen Schmied Committed by Alexandre Julliard

Avoid calling the exception handler in some cases.

parent 1dbf403d
...@@ -214,7 +214,8 @@ SNOOP_PrintArg(DWORD x) { ...@@ -214,7 +214,8 @@ SNOOP_PrintArg(DWORD x) {
if ( !HIWORD(x) || if ( !HIWORD(x) ||
!VirtualQuery((LPVOID)x,&mbi,sizeof(mbi)) || !VirtualQuery((LPVOID)x,&mbi,sizeof(mbi)) ||
!mbi.Type !mbi.Type ||
(mbi.Protect == PAGE_NOACCESS)
) { ) {
sprintf(buf,"%08lx",x); sprintf(buf,"%08lx",x);
return buf; return buf;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment