aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRyan Liptak <squeek502@hotmail.com>2025-02-17 16:18:33 -0800
committerAlex Rønne Petersen <alex@alexrp.com>2025-02-18 09:01:10 +0100
commit0779e847f79851419dfeb39595b1817ce72ea9fa (patch)
tree82ece10dcab4917af58ac4b0063a29f52f50de52 /tools
parentd2e70ef84a912947f6485f6fc480030c2d6a8c8f (diff)
downloadzig-0779e847f79851419dfeb39595b1817ce72ea9fa.tar.gz
zig-0779e847f79851419dfeb39595b1817ce72ea9fa.zip
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
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions