FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Limit WOFF metadata decompression by acts-1631 · Pull Request #445 · exiftool/exiftool · GitHub

Limit WOFF metadata decompression - #445

Open
acts-1631 wants to merge 1 commit into
exiftool:masterfrom
acts-1631:codex/limit-woff-metadata-decompression
Open

Limit WOFF metadata decompression#445
acts-1631 wants to merge 1 commit into
exiftool:masterfrom
acts-1631:codex/limit-woff-metadata-decompression

Conversation

Copy link
Copy Markdown

Reject oversized WOFF font data and inflate zlib metadata in bounded chunks. This prevents compressed metadata from forcing unbounded memory allocation when ExifTool scans an untrusted font. Adds regression tests.

Reject oversized WOFF font data before reading it, and inflate zlib
metadata in bounded chunks. This prevents a small compressed table from
forcing unbounded memory allocation when ExifTool scans an untrusted font.

Add regression tests for normal, over-limit, and oversized-table cases.

Copy link
Copy Markdown

Reject oversized WOFF font data and inflate zlib metadata in bounded chunks. This prevents compressed metadata from forcing unbounded memory allocation when ExifTool scans an untrusted font. Adds regression tests.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL