StackOverflow v0.1.0 .NET
General-Purpose PDF Library for Java and .NET
Status: Beta
Brought to you by:
stechio
Given a compressed PDF (which requires version PDF1.5) if the first line of the PDF file reflects a lower version (e.g. PDF1.3) PDF clown will cause a stack overflow when it tries to change the document version from 1.3 to 1.5 as it infinitely recurses from the Document.Version setter back into CheckCompatibility.
I've attached a diff file with a potential fix which disables compatibility checking while the CheckCompatibility function adjusts the version information
Fixed on trunk and 0.1.0-Fix branch.