Skip to content

BUG: Avoid own object replacement logic in PageObject.replace_contents#3638

Merged
stefan6419846 merged 3 commits intopy-pdf:mainfrom
stefan6419846:issue3632
Feb 12, 2026
Merged

BUG: Avoid own object replacement logic in PageObject.replace_contents#3638
stefan6419846 merged 3 commits intopy-pdf:mainfrom
stefan6419846:issue3632

Conversation

@stefan6419846
Copy link
Collaborator

Closes #3632.

@stefan6419846
Copy link
Collaborator Author

ML-4.30.24.pdf

@codecov
Copy link

codecov bot commented Feb 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.34%. Comparing base (5bf2008) to head (c6c391c).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3638      +/-   ##
==========================================
- Coverage   97.39%   97.34%   -0.06%     
==========================================
  Files          55       55              
  Lines        9881     9882       +1     
  Branches     1806     1806              
==========================================
- Hits         9624     9620       -4     
- Misses        151      153       +2     
- Partials      106      109       +3     

☔ 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 cd9e9da into py-pdf:main Feb 12, 2026
16 of 17 checks passed
@stefan6419846 stefan6419846 deleted the issue3632 branch February 12, 2026 11:24
stefan6419846 added a commit that referenced this pull request Feb 17, 2026
## What's new

### Security (SEC)
- Detect cyclic references when accessing TreeObject.children (#3645) by @stefan6419846
- Limit size of `/ToUnicode` entries (#3646) by @stefan6419846
- Limit FlateDecode recovery attempts (#3644) by @stefan6419846

### Bug Fixes (BUG)
- Avoid own object replacement logic in `PageObject.replace_contents` (#3638) by @stefan6419846
- Fix UnboundLocalError when update_page_form_field_values with /Sig (#3634) by @John-Sharp

### Robustness (ROB)
- Avoid divison by zero when decoding FlateDecode PNG prediction (#3641) by @stefan6419846

[Full Changelog](6.7.0...6.7.1)
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.

08e951d causes 'NullObject' object has no attribute 'indirect_reference'

1 participant