Frank Filz has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/458515
Change subject: Use (void) cast on snprintf that should be safe
......................................................................
Use (void) cast on snprintf that should be safe
Sometimes snprintf is just used to assure that an overrun can never
occur, in such cases, cast to (void) to indicate we don't care about
the return because we don't expect overrun to ever happen.
Also pick up one or two other string buffer safety issues.
Change-Id: Ib4264ad3582e18a2f2659357f3ffad549875e95d
Signed-off-by: Frank S. Filz <ffilzlnx(a)mindspring.com>
---
M src/FSAL/FSAL_CEPH/main.c
M src/FSAL/FSAL_GLUSTER/fsal_up.c
M src/FSAL/FSAL_GPFS/fsal_up.c
M src/FSAL/FSAL_VFS/handle.c
M src/FSAL/FSAL_VFS/subfsal_helpers.c
M src/FSAL/FSAL_VFS/xattrs.c
M src/FSAL/access_check.c
M src/FSAL/fsal_manager.c
M src/config_parsing/conf_url.c
M src/support/export_mgr.c
10 files changed, 63 insertions(+), 45 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/15/458515/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/458515
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Ib4264ad3582e18a2f2659357f3ffad549875e95d
Gerrit-Change-Number: 458515
Gerrit-PatchSet: 1
Gerrit-Owner: Frank Filz <ffilzlnx(a)mindspring.com>
Gerrit-MessageType: newchange