What steps will reproduce the problem?
1. Run the attached TestViewer and click load which loads nonpdf.pdf. A 0-byte
file (could also be any other bad-formed pdf-file). The program just crashes.
If being debugged debugger reports unhandled exception
'System.AccessViolationException' then program crashes.
What is the expected output? What do you see instead?
I expect PdfWrapper.LoadPdf() return 'false' indicating that something is wrong
with the loaded file.
I propose fixing this problem using attached patch.
Original issue reported on code.google.com by notdiffi...@gmx.net on 23 Jan 2011 at 6:33
Original issue reported on code.google.com by
notdiffi...@gmx.net
on 23 Jan 2011 at 6:33Attachments: