Skip to content

Comments

BUG: Avoid invalid load for ICCBased FlateDecode images in mode 1#3619

Merged
stefan6419846 merged 1 commit intopy-pdf:mainfrom
stefan6419846:issue3534
Jan 28, 2026
Merged

BUG: Avoid invalid load for ICCBased FlateDecode images in mode 1#3619
stefan6419846 merged 1 commit intopy-pdf:mainfrom
stefan6419846:issue3534

Conversation

@stefan6419846
Copy link
Collaborator

Closes #3534.

@codecov
Copy link

codecov bot commented Jan 28, 2026

Codecov Report

❌ Patch coverage is 60.00000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 97.36%. Comparing base (5d6d7f0) to head (e8687c1).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
pypdf/_xobj_image_helpers.py 60.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3619   +/-   ##
=======================================
  Coverage   97.36%   97.36%           
=======================================
  Files          55       55           
  Lines        9845     9846    +1     
  Branches     1798     1799    +1     
=======================================
+ Hits         9586     9587    +1     
  Misses        153      153           
  Partials      106      106           

☔ 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 14ef6b1 into py-pdf:main Jan 28, 2026
17 of 18 checks passed
@stefan6419846 stefan6419846 deleted the issue3534 branch January 28, 2026 17:10
stefan6419846 added a commit that referenced this pull request Feb 8, 2026
## What's new

### Deprecations (DEP)
- Deprecate support for abbreviations in decode_stream_data (#3617) by @stefan6419846

### New Features (ENH)
- Add ability to add font resources for 14 Adobe Core fonts in text widget annotations (#3624) by @PJBrs

### Bug Fixes (BUG)
- Avoid invalid load for ICCBased FlateDecode images in mode 1 (#3619) by @stefan6419846

### Robustness (ROB)
- Fix AESV2 decryption when /Length missing in encrypt dict (#3629) by @dmitry-kostin
- Fix merging when annotations point to NullObject (#3613) by @stefan6419846
- Check for `self._info` being None in `compress_identical_objects` (#3612) by @stefan6419846

[Full Changelog](6.6.2...6.7.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.

Improper handling of BitsPerComponent for FlateDecode/ICCBased images

1 participant