[ 
https://issues.apache.org/jira/browse/PDFBOX-6055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18016584#comment-18016584
 ] 

Tim Allison commented on PDFBOX-6055:
-------------------------------------

It looks like the {{pfa}} font files as extracted by mutool need further 
processing. In looking at the font definition, {{Length1}} is the location to 
split the two segments. if I split the font file into two segments at byte 
5091, and then call \{{Type1Font.createWithSegments(seg1, seg2);}}, there's a 
good parse. 

Given that we're losing this info when we extract the fonts with mutool, it 
looks like I can get close enough by grepping for `eexec` in the pfa and 
splitting on that index.

 

!image-2025-08-27-11-54-57-286.png!

> Expand coverage in oss-fuzz
> ---------------------------
>
>                 Key: PDFBOX-6055
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-6055
>             Project: PDFBox
>          Issue Type: Task
>            Reporter: Tim Allison
>            Priority: Minor
>         Attachments: image-2025-08-27-11-54-57-286.png
>
>
> As part of DARPA's AIxCC program, I developed several oss-fuzz harnesses in 
> our private fork. I'd like to contribute those.
> Since the competition completed, I've added a few more harnesses and tried to 
> improve seed coverage.
> This is the draft PR: [https://github.com/google/oss-fuzz/pull/13873]
> Please take a look and let me know what you think.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to