Ryan Liptak 0779e847f7 Skip empty/invalid records/certs in MacOS keychain files
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
2025-02-18 09:01:10 +01:00
..
2025-01-16 20:42:08 -05:00
2024-12-14 19:26:55 +00:00
2024-02-25 11:22:10 +01:00
2025-01-16 20:42:08 -05:00
2024-10-28 14:54:02 +00:00
2024-07-09 14:25:42 -07:00
2024-10-28 14:54:02 +00:00
2025-02-06 14:23:23 -08:00