Skip to content

Commit b7f0357

Browse files
committed
Added shebang lines and executable flags to all checks scripts
1 parent c7a268e commit b7f0357

14 files changed

+14
-0
lines changed

checks/check_fli_oob.py

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
from __future__ import annotations
23

34
from PIL import Image

checks/check_fli_overflow.py

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
from __future__ import annotations
23

34
from PIL import Image

checks/check_icns_dos.py

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
# Tests potential DOS of IcnsImagePlugin with 0 length block.
23
# Run from anywhere that PIL is importable.
34
from __future__ import annotations

checks/check_j2k_dos.py

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
# Tests potential DOS of Jpeg2kImagePlugin with 0 length block.
23
# Run from anywhere that PIL is importable.
34
from __future__ import annotations

checks/check_j2k_leaks.py

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
from __future__ import annotations
23

34
import sys

checks/check_j2k_overflow.py

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
from __future__ import annotations
23

34
from pathlib import Path

checks/check_jp2_overflow.py

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
# Reproductions/tests for OOB read errors in FliDecode.c
23

34
# When run in python, all of these images should fail for

checks/check_jpeg_leaks.py

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
from __future__ import annotations
23

34
import sys

checks/check_large_memory.py

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
from __future__ import annotations
23

34
import sys

checks/check_large_memory_numpy.py

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
from __future__ import annotations
23

34
import sys

0 commit comments

Comments
 (0)