You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by Lucky Python <lu...@gmail.com> on 2024/06/24 15:27:27 UTC

Re: PDFBox bug report: PDDocument.load(inputFile) crashes when parsing malformed ItalicAngle

Hi Tilman, is this bug accepted? Any additional info needed? Thanks!

On Sat, May 25, 2024 at 11:53 AM Lucky Python <lu...@gmail.com>
wrote:

> Thanks for the reply!
>
> I'd expect PDFBox to gracefully handle it instead of crashing, kinda like
> https://issues.apache.org/jira/browse/PDFBOX-3500.
>
> The example PDF for reproducing the bug can be found here
> <https://drive.google.com/file/d/1WJYYLQ6WkEGIHX5H7DDkz8QBBNE_cm45/view?usp=drive_link>
> .
>
> On Sat, May 25, 2024 at 10:53 AM Tilman Hausherr <TH...@t-online.de>
> wrote:
>
>> Hi,
>>
>> Why do you think this is a bug, and what would you expect instead?
>> Please upload your file to a sharehoster, attachments are blocked.
>>
>> Tilman
>>
>> On 25.05.2024 19:47, Lucky Python wrote:
>> > I'd like to report a bug.
>> >
>> > [Description]
>> > PDDocument.load(inputFile) crashes when parsing malformed ItalicAngle.
>> > It is 100% reproducible with the attached PDF file as the
>> > inputFile parameter.
>> >
>> > [PDFBox versions]
>> > Reproduced with both PDFBox 2.0.27 & 2.0.31
>> >
>> > [Stack trace]
>> > Exception in thread "main" ......
>> > Caused by: java.io.IOException: Error expected floating point number
>> > actual='-12.-1'
>>
>>

Re: PDFBox bug report: PDDocument.load(inputFile) crashes when parsing malformed ItalicAngle

Posted by Tilman Hausherr <TH...@t-online.de>.
Hi,

This was fixed on the same day in

https://issues.apache.org/jira/browse/PDFBOX-5829

You can try a snapshot:
https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/3.0.3-SNAPSHOT/
https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/2.0.32-SNAPSHOT/

I thought I had written something in the thread but apparently I didn't, 
sorry about that.

Tilman


On 24.06.2024 17:27, Lucky Python wrote:
> Hi Tilman, is this bug accepted? Any additional info needed? Thanks!
>
> On Sat, May 25, 2024 at 11:53 AM Lucky Python <lu...@gmail.com>
> wrote:
>
>> Thanks for the reply!
>>
>> I'd expect PDFBox to gracefully handle it instead of crashing, kinda like
>> https://issues.apache.org/jira/browse/PDFBOX-3500.
>>
>> The example PDF for reproducing the bug can be found here
>> <https://drive.google.com/file/d/1WJYYLQ6WkEGIHX5H7DDkz8QBBNE_cm45/view?usp=drive_link>
>> .
>>
>> On Sat, May 25, 2024 at 10:53 AM Tilman Hausherr <TH...@t-online.de>
>> wrote:
>>
>>> Hi,
>>>
>>> Why do you think this is a bug, and what would you expect instead?
>>> Please upload your file to a sharehoster, attachments are blocked.
>>>
>>> Tilman
>>>
>>> On 25.05.2024 19:47, Lucky Python wrote:
>>>> I'd like to report a bug.
>>>>
>>>> [Description]
>>>> PDDocument.load(inputFile) crashes when parsing malformed ItalicAngle.
>>>> It is 100% reproducible with the attached PDF file as the
>>>> inputFile parameter.
>>>>
>>>> [PDFBox versions]
>>>> Reproduced with both PDFBox 2.0.27 & 2.0.31
>>>>
>>>> [Stack trace]
>>>> Exception in thread "main" ......
>>>> Caused by: java.io.IOException: Error expected floating point number
>>>> actual='-12.-1'
>>>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org