Skip to content

Bounds checking improvements for cmap and kern table parsers #44

Description

@ChakshuGupta13

Hi Thomas,

Following up on my email. A couple of the table parsers (cmap format-12 and kern format-0) read entry counts from the font file without checking that the declared count fits within the subtable data. A malformed font can trigger out-of-bounds reads.

I have a fix ready and will open a PR shortly.

Best,
Chakshu

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions