Commit b49a1de1 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

gdi: Filter GETSCALINGFACTOR and SETABORTDOC proc in metafile

Escapes.
parent d2bdbd4e
......@@ -863,6 +863,13 @@ BOOL WINAPI PlayMetaFileRecord( HDC hdc, HANDLETABLE *ht, METARECORD *mr, UINT
break;
case META_ESCAPE:
switch (mr->rdParm[0]) {
case GETSCALINGFACTOR: /* get function ... would just NULL dereference */
return FALSE;
case SETABORTPROC:
FIXME("Filtering Escape(SETABORTPROC), possible virus?\n");
return FALSE;
}
Escape(hdc, mr->rdParm[0], mr->rdParm[1], (LPCSTR)&mr->rdParm[2], NULL);
break;
......
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