Commit Graph

13963 Commits

Author SHA1 Message Date
Andrew Murray
03b8ac911d
Merge pull request #6714 from wiredfool/valgrind_imagingtransform
Fix compiler error: accessing 64 bytes in a region of size 48
2022-11-06 22:37:31 +11:00
Hugo van Kemenade
7b763bef2c
Merge pull request #6719 from radarhere/bmp 2022-11-05 18:20:48 +02:00
Andrew Murray
b8be24850b Added file to questionable list 2022-11-05 21:54:23 +11:00
Hugo van Kemenade
86b4cb6d14
Merge pull request #6713 from wiredfool/verbose_build 2022-11-04 13:23:02 +02:00
Andrew Murray
bbe9cc6ae5 Use verbose flag for pip install for debug target 2022-11-04 20:26:39 +11:00
Hugo van Kemenade
7c00e79eb6
Merge pull request #6715 from radarhere/oserror 2022-11-04 10:20:26 +02:00
Andrew Murray
321c06694f
Merge pull request #6702 from nulano/win-cxxflags
Disable __CxxFrameHandler4 when compiling HarfBuzz
2022-11-04 18:50:50 +11:00
Andrew Murray
f9a2f991db Replaced IOError with OSError 2022-11-04 11:48:18 +11:00
Eric Soroos
41987cffad Fix compiler error:
src/_imaging.c:1842:17: warning: ‘ImagingTransform’ accessing 64 bytes in a region of size 48 [-Wstringop-overflow=]
       1842 |         imOut = ImagingTransform(
            |                 ^~~~~~~~~~~~~~~~~
       1843 |             imOut, imIn, IMAGING_TRANSFORM_AFFINE, 0, 0, xsize, ysize, a, filter, 1);
            |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      src/_imaging.c:1842:17: note: referencing argument 8 of type ‘double *’
2022-11-03 22:57:39 +01:00
Eric Soroos
d93b9919e3 Use verbose flag for pip install
* Ensures when developing that compilation warnings are visible
* Provides feedback that compilation has occured.
2022-11-03 21:40:08 +01:00
Hugo van Kemenade
aedbc77618
Merge pull request #6712 from radarhere/imagegrab
XCB will not be used by default on Linux if gnome-screenshot is present
2022-11-02 09:30:50 +02:00
Hugo van Kemenade
30dd02cc1a
Merge pull request #6711 from radarhere/lcms2
Updated lcms2 to 2.14
2022-11-02 09:29:53 +02:00
Andrew Murray
6b286ed62f XCB will not be used on Linux if gnome-screenshot is present 2022-11-02 07:47:05 +11:00
Andrew Murray
6fd772e669 Updated lcms2 to 2.14 2022-11-02 00:08:29 +11:00
Hugo van Kemenade
7854f6c61c
Merge pull request #6705 from radarhere/fedora 2022-11-01 09:16:15 +02:00
Andrew Murray
7528b673fa Removed Fedora 35 2022-10-31 19:36:14 +11:00
Andrew Murray
a4ec9f331c
Merge pull request #6703 from nulano/embeddable-xfail
Add xfail mark to TestEmbeddable
2022-10-31 08:24:05 +11:00
pre-commit-ci[bot]
23df3bda7f [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2022-10-30 03:17:57 +00:00
nulano
181fad2918
move import used only on Windows and remove unused import 2022-10-30 03:17:13 +00:00
nulano
eaee7fda97
add xfail mark to test_image_access:test_embeddable 2022-10-30 02:59:14 +00:00
nulano
76b99756e4
disable __CxxFrameHandler4 when compiling harfbuzz 2022-10-29 18:24:44 +01:00
Hugo van Kemenade
4fc0a4ceb2 9.4.0.dev0 version bump 2022-10-29 17:22:07 +03:00
Hugo van Kemenade
d594f4cb8d Update CHANGES.rst [ci skip] 2022-10-29 15:25:53 +03:00
Hugo van Kemenade
909dc64ed5 9.3.0 version bump 2022-10-29 15:21:20 +03:00
Hugo van Kemenade
1a51ce7b95
Merge pull request #6699 from hugovk/security-libtiff_buffer 2022-10-29 15:06:57 +03:00
Hugo van Kemenade
2444cddab2
Merge pull request #6700 from hugovk/security-samples_per_pixel-sec 2022-10-29 13:16:49 +03:00
Andrew Murray
744f455830 Added release notes 2022-10-29 12:08:59 +03:00
Hugo van Kemenade
0846bfae48 Add to release notes 2022-10-29 12:06:33 +03:00
Hugo van Kemenade
799a6a0105 Fix linting 2022-10-29 12:06:30 +03:00
Hugo van Kemenade
00b25fd3ac Hide UserWarning in logs
Tests/test_file_tiff.py::TestFileTiff::test_oom[Tests/images/oom-225817ca0f8c663be7ab4b9e717b02c661e66834.tif]
  PIL/TiffImagePlugin.py:850: UserWarning: Corrupt EXIF data.  Expecting to read 12 bytes but only got 6. 
    warnings.warn(str(msg))

Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2022-10-29 12:06:27 +03:00
Eric Soroos
05b175ef88 Tighter test case 2022-10-29 12:06:24 +03:00
Eric Soroos
13f2c5ae14 Prevent DOS with large SAMPLESPERPIXEL in Tiff IFD
A large value in the SAMPLESPERPIXEL tag could lead to a memory and
runtime DOS in TiffImagePlugin.py when setting up the context for
image decoding.
2022-10-29 12:06:18 +03:00
Andrew Murray
fa71b11073 Revert "Temporarily skip valgrind failure"
This reverts commit a3e61c1f89.
2022-10-29 12:02:07 +03:00
Andrew Murray
93e5fd4b40 Initialize libtiff buffer 2022-10-29 12:02:03 +03:00
Andrew Murray
e055ef0356
Update CHANGES.rst [ci skip] 2022-10-29 19:22:28 +11:00
Hugo van Kemenade
327db9a545
Merge pull request #6329 from nulano/imagetk-leak
Inline fname2char to fix memory leak
2022-10-29 10:59:54 +03:00
Hugo van Kemenade
966e98f36a
Merge pull request #6330 from nulano/imagingft-leak
Fix memory leaks related to text features
2022-10-29 10:58:36 +03:00
Hugo van Kemenade
e849e93480
Merge pull request #6695 from hugovk/fix-setuptools
Double quotes for old CPython on Windows
2022-10-29 10:53:42 +03:00
Hugo van Kemenade
b656d85dec
Merge pull request #6697 from nulano/gha-windows-set-output
GHA: replace deprecated set-output command with GITHUB_OUTPUT file
2022-10-29 06:47:47 +03:00
Andrew Murray
c3326da8a3
Update CHANGES.rst [ci skip] 2022-10-29 11:31:20 +11:00
Andrew Murray
a048d163d6
Merge pull request #6693 from cgohlke/patch-3
Remove backup implementation of Round for Windows platforms
2022-10-29 11:28:34 +11:00
Andrew Murray
dc0e4dde4f
Merge pull request #6696 from hugovk/update-release-notes
Update release notes for 9.3.0
2022-10-29 11:19:11 +11:00
nulano
7ad021efb0
GHA: use GITHUB_OUTPUT instead of deprecated set-output 2022-10-28 23:16:43 +01:00
Hugo van Kemenade
7adda3d4ab
Merge pull request #6532 from nulano/upload-fribidi 2022-10-28 22:56:13 +03:00
Hugo van Kemenade
88ba3a0cb0 Document 3.11 wheels in 9.3.0 release notes 2022-10-28 22:54:08 +03:00
Andrew Murray
b8fc7340d9
Merge branch 'main' into upload-fribidi 2022-10-28 21:27:56 +11:00
Andrew Murray
b4bf2885f3 Update CHANGES.rst [ci skip] 2022-10-28 21:23:25 +11:00
Hugo van Kemenade
31f66ea963
Merge pull request #6445 from radarhere/set_variation_by_name 2022-10-28 13:21:30 +03:00
Hugo van Kemenade
3ffd2b2b8f Double quotes for old CPython on Windows 2022-10-28 13:02:19 +03:00
Christoph Gohlke
4ab80f663e
Remove backup implementation of Round for Windows platforms 2022-10-27 08:15:36 -07:00