make assertion hold (fixes crash 70392)
XPS: fix buffer overrun and memory leaks
EngineDump: report memory leaks also for overly broken documents