Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: py-pdf/pypdf
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 6.9.1
Choose a base ref
...
head repository: py-pdf/pypdf
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 6.9.2
Choose a head ref
  • 4 commits
  • 9 files changed
  • 4 contributors

Commits on Mar 17, 2026

  1. ROB: Resolve UnboundLocalError for xobjs in _get_image (#3684)

    The xobjs variable was used outside the try-except block that defined it.
    If a KeyError was caught and the id started/ended with '~' (inline images),
    the code would continue but xobjs would remain undefined, causing
    UnboundLocalError when trying to access non-inline images.
    
    Initialize xobjs to None and check before using it.
    
    ---------
    
    Co-authored-by: Yuki9814 <Yuki9814@users.noreply.github.com>
    Co-authored-by: Yuki9814 <222397878+Yuki9814@users.noreply.github.com>
    3 people authored Mar 17, 2026
    Configuration menu
    Copy the full SHA
    04b0a38 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2026

  1. Configuration menu
    Copy the full SHA
    3bef339 View commit details
    Browse the repository at this point in the history
  2. SEC: Avoid infinite loop in read_from_stream for broken files (#3693)

    This only affects the non-strict mode and is triggered for errors which
    should always trigger a hard error, id est recursion and filter limit
    errors.
    stefan6419846 authored Mar 23, 2026
    Configuration menu
    Copy the full SHA
    02b1345 View commit details
    Browse the repository at this point in the history
  3. REL: 6.9.2

    ## What's new
    
    ### Security (SEC)
    - Avoid infinite loop in read_from_stream for broken files (#3693) by @stefan6419846
    
    ### Robustness (ROB)
    - Resolve UnboundLocalError for xobjs in _get_image (#3684) by @Yuki9814
    
    [Full Changelog](6.9.1...6.9.2)
    stefan6419846 committed Mar 23, 2026
    Configuration menu
    Copy the full SHA
    da867f4 View commit details
    Browse the repository at this point in the history
Loading