Skip to content

ROB: Raise proper error on infinite loop when reading objects#3169

Merged
stefan6419846 merged 1 commit intopy-pdf:mainfrom
stefan6419846:issue3112
Mar 7, 2025
Merged

ROB: Raise proper error on infinite loop when reading objects#3169
stefan6419846 merged 1 commit intopy-pdf:mainfrom
stefan6419846:issue3112

Conversation

@stefan6419846
Copy link
Copy Markdown
Collaborator

Closes #3112.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.53%. Comparing base (7143554) to head (9958159).
Report is 97 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3169   +/-   ##
=======================================
  Coverage   96.53%   96.53%           
=======================================
  Files          53       53           
  Lines        8916     8924    +8     
  Branches     1635     1636    +1     
=======================================
+ Hits         8607     8615    +8     
  Misses        185      185           
  Partials      124      124           

☔ View full report in Codecov by Sentry.
📢 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 432b238 into py-pdf:main Mar 7, 2025
16 checks passed
@stefan6419846 stefan6419846 deleted the issue3112 branch March 7, 2025 10:56
stefan6419846 added a commit that referenced this pull request Mar 16, 2025
## What's new

### New Features (ENH)
- Add support for `IndirectObject.__contains__` (#3155) by @noamkush

### Bug Fixes (BUG)
- Fix detection of inline images followed by names or numbers (#3173) by @stefan6419846

### Robustness (ROB)
- Consider root objects without catalog type as fallback (#3175) by @stefan6419846
- Raise proper error on infinite loop when reading objects (#3169) by @stefan6419846

### Documentation (DOC)
- Mention memory consumption of text extraction (#3168) by @stefan6419846

### Developer Experience (DEV)
- Upgrade to ruff 0.10.0 (#3191) by @stefan6419846

[Full Changelog](5.3.1...5.4.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.

RecursionError when adding a page to the writer (Length references own object)

1 participant