Skip to content

Commit 7750ed3

Browse files
authored
Merge pull request #1366 from xexyl/critical
2 parents 4d95c67 + 5f2ce96 commit 7750ed3

File tree

3 files changed

+292
-72
lines changed

3 files changed

+292
-72
lines changed

CHANGES.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,39 @@
11
# Major changes to the IOCCC entry toolkit
22

33

4+
## Release 2.10.2 2025-11-20
5+
6+
Fix more critical errors in `test_manifest()` as follows:
7+
8+
- NULL pointer checks were missing and/or did not exit when encountered (see
9+
next item).
10+
- when a NULL pointer is encountered in an array it is an error.
11+
- check shell script filenames too, making sure they are the right permission.
12+
- when scanning extra filenames, make sure they do NOT match a shell script file
13+
AND do not match a mandatory file AND are NOT an executable filename (this check
14+
is redundant but done in case anyone is doing any funny business).
15+
- when scanning shell script filenames, make sure they do NOT match an extra
16+
file AND do NOT match a mandatory filename AND are executable (this check is
17+
redundant but done in case someone is trying to do any funny business).
18+
19+
Also improve error messages (that is, don't make them just debug output) - this
20+
is because (although this should only happen if someone is manipulating the
21+
directory or else testing a directory that was not created by mkiocccentry) for
22+
some errors it would show just that the checks passed but not why. It should be
23+
noted that this only applies to regular files that are specifically checked. For
24+
instance if you were to do `chmod 1777` on a directory and then run `chkentry`
25+
(or `chksubmit`) on it it will just give you an error saying validation failed.
26+
If you wish to do any manipulation like this this is on you - it is not worth
27+
delaying a new release simply to help people who are abusing the rules.
28+
29+
Added some debug messages where they were missing (in places where the new
30+
`warn()` calls were, which used to be a JSON debug call with medium level).
31+
32+
Updated `CHKENTRY_VERSION` to `"2.2.2 2025-11-20"`.
33+
Updated `CHKSUBMIT_VERSION` to `"2.0.2 2025-11-20"`.
34+
Updated `SOUP_VERSION` to `"2.3.2 2025-11-20"`.
35+
36+
437
## Release 2.10.1 2025-11-19
538

639
Fix critical bug in `test_shell_script()` where a filename that ends with `.sh`

0 commit comments

Comments
 (0)