Package: python3-pdfminer
Version: 20260107+dfsg-1
Severity: normal
Tags: patch upstream

Dear Maintainer,

Running `dumppdf -at` on the following PDF file:
https://github.com/user-attachments/files/29155207/allabout.pdf

emits this error:
```
  File "/usr/lib/python3/dist-packages/pdfminer/utils.py", line 215, in 
apply_png_predictor
    prior_x = int(line_above[j])
                  ~~~~~~~~~~^^^
IndexError: list index out of range
```

See full error here: https://github.com/pdfminer/pdfminer.six/issues/1269
There is a patch to fix this here: 
https://github.com/pdfminer/pdfminer.six/pull/1270

This is related to bug #1140397 for diffoscope.


-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 7.0.10+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-pdfminer depends on:
ii  python3                     3.13.9-3+b1
ii  python3-charset-normalizer  3.4.7-1
ii  python3-cryptography        46.0.7-1

python3-pdfminer recommends no packages.

Versions of packages python3-pdfminer suggests:
pn  pdfminer-data  <none>
pn  python3-pil    <none>

-- no debconf information

Attachment: 0001-Add-index-safety-checks-in-apply_png_predictor.patch
Description: application/mbox

Reply via email to