Skip to content

BUG: Correctly handle IndirectObject in FlateDecode.decode DecodeParms - #3937

Merged
stefan6419846 merged 1 commit into
py-pdf:mainfrom
stefan6419846:flatedecode
Aug 3, 2026
Merged

BUG: Correctly handle IndirectObject in FlateDecode.decode DecodeParms#3937
stefan6419846 merged 1 commit into
py-pdf:mainfrom
stefan6419846:flatedecode

Conversation

@stefan6419846

Copy link
Copy Markdown
Collaborator

Closes #3912.

@codecov

codecov Bot commented Aug 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.87%. Comparing base (11a0f77) to head (7cf3d45).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3937   +/-   ##
=======================================
  Coverage   97.87%   97.87%           
=======================================
  Files          57       57           
  Lines       10760    10765    +5     
  Branches     2014     2016    +2     
=======================================
+ Hits        10531    10536    +5     
  Misses        127      127           
  Partials      102      102           

☔ 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 ea00497 into py-pdf:main Aug 3, 2026
32 of 34 checks passed
@stefan6419846
stefan6419846 deleted the flatedecode branch August 3, 2026 17:55
stefan6419846 added a commit that referenced this pull request Aug 6, 2026
## What's new

### Security (SEC)
- Improve performance of read_until_whitespace (#3947) by @stefan6419846
- Limit CID width range and width count when loading fonts (#3946) by @stefan6419846
- Limit token length for ToUnicode entries (#3944) by @stefan6419846

### Deprecations (DEP)
- Deprecate previously missed inline_images setter as well (#3897) by @stefan6419846

### New Features (ENH)
- Add ActualText tag when we produce RTL appearance stream (#3901) by @PJBrs
- Allow keeping original PDF header in non-incremental clone mode (#3918) by @pctablet505
- AppearanceStream: Add support for RTL appearance streams with Arabic characters (#3831) by @PJBrs
- Add actions base class (#3552) by @j-t-1

### Bug Fixes (BUG)
- Expand low-bit samples for images without a filter (#3938) by @RavSinghChandan
- Decode low-bit DeviceRGB images as RGB instead of palette (#3929) by @RavSinghChandan
- Correctly handle IndirectObject in FlateDecode.decode DecodeParms (#3937) by @stefan6419846

### Documentation (DOC)
- Image and attachment filenames are unsanitized (#3942) by @stefan6419846

### Maintenance (MAINT)
- Update charset mappings (#3935) by @stefan6419846

[Full Changelog](6.14.2...6.15.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.

FlateDecode filter incorrectly handles most data types for DecodeParms on decode

1 participant