[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20060105213028.GA16267@suse.de>
Date: Thu Jan 5 21:30:46 2006
From: meissner at suse.de (Marcus Meissner)
Subject: Microsoft patches WMF... Wine is still
exploitable?
On Thu, Jan 05, 2006 at 03:15:28PM -0600, H D Moore wrote:
> ---
> wine-20050930/dlls/gdi/driver.c
> ---
You have all the wrong places, this is all valid functionality.
You want this place:
dlls/gdi/metafile.c::PlayMetaFileRecord
...
case META_ESCAPE:
Escape(hdc, mr->rdParm[0], mr->rdParm[1], (LPCSTR)&mr->rdParm[2], NULL);
break;
...
This call should use a whitelist of the valid GDI Escapes in metafiles.
Ciao, Marcus
Powered by blists - more mailing lists