nfs4-acl-tools hardening fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | nfs4_getfacl/nfs4_setfacl: escape newline+cr from filenamesinclude/ libnfs4acl/ nfs4_getfacl/ +1 more | +23 | 0 replies | |
| 2/3 | libnfs4acl: fix various bound checkings against NFS4_MAX_PRINCIPALSIZElibnfs4acl/ libnfs4acl/ libnfs4acl/ | +3 | 0 replies | |
| 3/3 | nfs4_setacl: do not follow symlinks on do_apply_action/nfs4_setacl_bynamelibnfs4acl/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [nfs4-acl-tools PATCH 0/3] nfs4-acl-tools hardening fixes
- Escape special characters in printed filenames to prevent injection
- Fix bound checking around NFS4_MAX_PRINCIPALSIZE
- Use lsetxattr to avoid following symlinks during recursive walks
Roberto Bergantinos Corpas (3):
nfs4_getfacl/nfs4_setfacl: escape newline+cr from filenames
libnfs4acl: fix various bound checkings against NFS4_MAX_PRINCIPALSIZE
nfs4_setacl: do not follow symlinks on
do_apply_action/nfs4_setacl_byname
include/libacl_nfs4.h | 1 + libnfs4acl/acl_nfs4_set_who.c | 2 +- libnfs4acl/acl_nfs4_xattr_load.c | 2 +- libnfs4acl/nfs4_ace_from_string.c | 2 +- libnfs4acl/nfs4_print_acl.c | 13 +++++++++++++ libnfs4acl/nfs4_setacl.c | 2 +- nfs4_getfacl/nfs4_getfacl.c | 7 +++++-- nfs4_setfacl/nfs4_setfacl.c | 6 ++++-- 8 files changed, 27 insertions(+), 8 deletions(-)
Signature · 1 line
2.55.0