From bf97a92bc62bfba894e1f2a641c2bbd885f0f75e Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Fri, 14 May 2021 13:18:49 +1000 Subject: [PATCH] Ensure PNG seeks to end of previous chunk at start of load_end --- Tests/images/padded_idat.png | Bin 0 -> 104 bytes Tests/test_file_png.py | 17 +++++++++++++++++ src/PIL/PngImagePlugin.py | 2 ++ 3 files changed, 19 insertions(+) create mode 100644 Tests/images/padded_idat.png diff --git a/Tests/images/padded_idat.png b/Tests/images/padded_idat.png new file mode 100644 index 0000000000000000000000000000000000000000..18c5a4990cdcaf8b31f71ee20f88c85d291de263 GIT binary patch literal 104 zcmeAS@N?(olHy`uVBq!ia0y~yU<5K5xHv#$-PijWKuX`!#WAE}&f5!)f(#5i%^S-8 rx%#v93$e=hZjU`?*}%5|8QZ?gVHD1NmlhaZ1Tw