mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-05-06 18:03:17 +03:00
0779e847f7
In the original PR that implemented this (https://github.com/ziglang/zig/pull/14325), it included a list of references for the keychain format. Multiple of those references include the checks that are added in this commit, and empirically this fixes the loading of a real keychain file that was previously failing (it had both a record with offset 0 and a record with cert_size 0). Fixes #22870