Skip to content

SEC: Avoid infinite loops for outlines and text extraction - #3830

Merged
stefan6419846 merged 3 commits into
py-pdf:mainfrom
stefan6419846:loops
Jun 5, 2026
Merged

stefan6419846 merged 3 commits into
py-pdf:mainfrom
stefan6419846:loops

Conversation

@stefan6419846

Copy link
Copy Markdown
Collaborator

No description provided.

@codecov

codecov Bot commented Jun 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.78%. Comparing base (ddd3485) to head (cd8ce8a).
⚠️ Report is 169 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3830      +/-   ##
==========================================
+ Coverage   97.76%   97.78%   +0.02%     
==========================================
  Files          55       55              
  Lines       10457    10473      +16     
  Branches     1943     1947       +4     
==========================================
+ Hits        10223    10241      +18     
+ Misses        129      128       -1     
+ Partials      105      104       -1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@stefan6419846
stefan6419846 merged commit 68822de into py-pdf:main Jun 5, 2026
20 checks passed
@stefan6419846
stefan6419846 deleted the loops branch June 5, 2026 09:53
stefan6419846 added a commit that referenced this pull request Jun 5, 2026
## What's new

### Security (SEC)
- Avoid infinite loops for outlines and text extraction (#3830) by @stefan6419846

### New Features (ENH)
- Add Japanese predefined CMaps (#3800) by @yasuhiroiwaki
- Font: Collect all character widths, not only those that can be unicode mapped (#3798) by @PJBrs

### Robustness (ROB)
- Recover a corrupt trailing startxref pointer (closes #3238) (#3826) by @gaoflow
- Handle /Pages node without /Kids during flattening (#3825) by @gaoflow
- Accept inline image EI marker at the end of a content stream (#3827) by @gaoflow

### Maintenance (MAINT)
- Type the always-raising deprecation helpers as `NoReturn` (#3819) by @estelledc

[Full Changelog](6.12.2...6.13.0)
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.

1 participant