diff --git a/checks/check_fli_oob.py b/checks/check_fli_oob.py old mode 100644 new mode 100755 index e0057a2c2..ac46ff1eb --- a/checks/check_fli_oob.py +++ b/checks/check_fli_oob.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 from __future__ import annotations from PIL import Image diff --git a/checks/check_fli_overflow.py b/checks/check_fli_overflow.py old mode 100644 new mode 100755 index 5c89efc76..50137c4cc --- a/checks/check_fli_overflow.py +++ b/checks/check_fli_overflow.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 from __future__ import annotations from PIL import Image diff --git a/checks/check_icns_dos.py b/checks/check_icns_dos.py old mode 100644 new mode 100755 index ac6be4869..c4d41ca7d --- a/checks/check_icns_dos.py +++ b/checks/check_icns_dos.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # Tests potential DOS of IcnsImagePlugin with 0 length block. # Run from anywhere that PIL is importable. from __future__ import annotations diff --git a/checks/check_j2k_dos.py b/checks/check_j2k_dos.py old mode 100644 new mode 100755 index 2c63c3402..756df21a6 --- a/checks/check_j2k_dos.py +++ b/checks/check_j2k_dos.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # Tests potential DOS of Jpeg2kImagePlugin with 0 length block. # Run from anywhere that PIL is importable. from __future__ import annotations diff --git a/checks/check_j2k_leaks.py b/checks/check_j2k_leaks.py old mode 100644 new mode 100755 index 7103d502e..7170334c3 --- a/checks/check_j2k_leaks.py +++ b/checks/check_j2k_leaks.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 from __future__ import annotations import sys diff --git a/checks/check_j2k_overflow.py b/checks/check_j2k_overflow.py old mode 100644 new mode 100755 index 58566c4b2..eb333e1f6 --- a/checks/check_j2k_overflow.py +++ b/checks/check_j2k_overflow.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 from __future__ import annotations from pathlib import Path diff --git a/checks/check_jp2_overflow.py b/checks/check_jp2_overflow.py old mode 100644 new mode 100755 index 954d68bf7..894ec5f74 --- a/checks/check_jp2_overflow.py +++ b/checks/check_jp2_overflow.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # Reproductions/tests for OOB read errors in FliDecode.c # When run in python, all of these images should fail for diff --git a/checks/check_jpeg_leaks.py b/checks/check_jpeg_leaks.py old mode 100644 new mode 100755 index 2c27ce1d5..da180ae2c --- a/checks/check_jpeg_leaks.py +++ b/checks/check_jpeg_leaks.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 from __future__ import annotations import sys diff --git a/checks/check_large_memory.py b/checks/check_large_memory.py old mode 100644 new mode 100755 index c9feda3b1..59870c51f --- a/checks/check_large_memory.py +++ b/checks/check_large_memory.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 from __future__ import annotations import sys diff --git a/checks/check_large_memory_numpy.py b/checks/check_large_memory_numpy.py old mode 100644 new mode 100755 index 458b0ab72..befe11875 --- a/checks/check_large_memory_numpy.py +++ b/checks/check_large_memory_numpy.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 from __future__ import annotations import sys diff --git a/checks/check_libtiff_segfault.py b/checks/check_libtiff_segfault.py old mode 100644 new mode 100755 index 84bda53ed..d1cb33fab --- a/checks/check_libtiff_segfault.py +++ b/checks/check_libtiff_segfault.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 from __future__ import annotations import pytest diff --git a/checks/check_png_dos.py b/checks/check_png_dos.py old mode 100644 new mode 100755 index 1bfb94ab7..3da251a7a --- a/checks/check_png_dos.py +++ b/checks/check_png_dos.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 from __future__ import annotations import zlib diff --git a/checks/check_release_notes.py b/checks/check_release_notes.py old mode 100644 new mode 100755 index cf414d7ff..e92c9bc6a --- a/checks/check_release_notes.py +++ b/checks/check_release_notes.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 from __future__ import annotations import sys diff --git a/checks/check_wheel.py b/checks/check_wheel.py old mode 100644 new mode 100755 index f716c8498..d225e0ec9 --- a/checks/check_wheel.py +++ b/checks/check_wheel.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 from __future__ import annotations import platform