ststeiger / PdfSharpCore

Port of the PdfSharp library to .NET Core - largely removed GDI+ (only missing GetFontData - which can be replaced with freetype2)
Other
1.05k stars 234 forks source link

Addresses issue #354 - malformed PDF that ends without closing an inline image. #355

Closed vpstuart closed 1 year ago

vpstuart commented 1 year ago

Addresses #354 - infinite loop if file ends without closing an inline image.

vpstuart commented 1 year ago

I'm not quite sure why but the PR is showing the changed file (for me at least) as 'binary' so you can't easily see the changes, for convenience: image

ststeiger commented 1 year ago

I'm waiting 'till friday. I'll review that change.

vpstuart commented 1 year ago

Hi @ststeiger, Anything you would like me to change in the PR?

Cheers,

ststeiger commented 1 year ago

Merged the change in CLexer.cs, but without pulling the binary commit.