BUG: _read_inline_image infinite loop
fixes https://github.com/py-pdf/pypdf/issues/2423
Thanks for the PR. Are you able to provide a corresponding test which ensures that this will not break again in the future?
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 94.49%. Comparing base (
54ae0a6) to head (ad9ad7c). Report is 36 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #2424 +/- ##
==========================================
+ Coverage 94.43% 94.49% +0.06%
==========================================
Files 49 49
Lines 8008 8180 +172
Branches 1616 1660 +44
==========================================
+ Hits 7562 7730 +168
- Misses 276 278 +2
- Partials 170 172 +2
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@yuvalgtrustmi Are you still interested in working on this PR and adding corresponding tests?
@yuvalgtrustmi I've produced a Pdf where the content has been cut 3 parts with one "subcontent" with only EI: EI_isolated_in_content.pdf however I can find how to reproduce your issue. Can you provide the code you've used to initially produce the error
@yuvalgtrustmi any update?
@yuvalgtrustmi any update?
any update ? On my side I can not reproduce the issue
@yuvalgtrustmi can you please provide the failing code
@yuvalgtrustmi last request before closing the PR for cleanup. It can be reopened later
I close this PR and associated issue for clean-up.feel free to ask to reopen it if you have more data