]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Guard against invalid type arguments 2704/head
authorTim Kientzle <kientzle@acm.org>
Sat, 26 Jul 2025 18:10:24 +0000 (11:10 -0700)
committerTim Kientzle <kientzle@acm.org>
Sat, 26 Jul 2025 18:10:24 +0000 (11:10 -0700)
commitaa1fc90ae5bf6e8f197414ce345361ae4f9e38c9
treed83167ea79e8eec6dae52e328f68a4ed3d9155fc
parentef093729521fcf73fa4007d5ae77adfe4df42403
Guard against invalid type arguments

Some experiments showed strange things happen if you
provide an invalid type value when appending a new ACL entry.
Guard against that, and while we're here be a little more
paranoid elsewhere against bad types in case there is another
way to get them in.
libarchive/archive_acl.c
libarchive/test/test_acl_nfs4.c
libarchive/test/test_acl_posix1e.c