]> git.ipfire.org Git - thirdparty/curl.git/commit
unit3214: verify struct sizes
authorDaniel Stenberg <daniel@haxx.se>
Sat, 5 Jul 2025 09:47:35 +0000 (11:47 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 6 Jul 2025 18:28:21 +0000 (20:28 +0200)
commit81693c77bec126fc820d34eab55012d828466c4e
treea93edbfb23d14ac7b755355f0b85bfb449b2d7a8
parent05263820e526edd81bc681cc499981aadfc8934e
unit3214: verify struct sizes

This test makes sure that a number of internal and public structs are
within their maximum allowed size limits.

The public structs can only grow in controlled ways, while the internal
ones may be allowed to grow if deemed right.

The idea here is to control, to know and make sure all important struct
growth is intentional.

Closes #17823
tests/data/Makefile.am
tests/data/test3214 [new file with mode: 0644]
tests/unit/Makefile.inc
tests/unit/unit3214.c [new file with mode: 0644]