Frank Filz has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/458501
Change subject: MainNFSD: safer or more efficient string manipulation
......................................................................
MainNFSD: safer or more efficient string manipulation
Use memcpy when the length of the source is known.
Check result of strlcpy.
Cast snprintf to (void) when we know it can't overflow to make
it clear ignoring overflow is intentional.
Change-Id: I29341badc9d6ec32cc4a7f74db5d60f0bbc06493
Signed-off-by: Frank S. Filz <ffilzlnx(a)mindspring.com>
---
M src/MainNFSD/9p_dispatcher.c
M src/MainNFSD/9p_rdma_dispatcher.c
M src/MainNFSD/nfs_admin_thread.c
M src/MainNFSD/nfs_main.c
M src/MainNFSD/nfs_rpc_callback.c
M src/MainNFSD/nfs_rpc_callback_simulator.c
6 files changed, 25 insertions(+), 17 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/01/458501/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/458501
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: I29341badc9d6ec32cc4a7f74db5d60f0bbc06493
Gerrit-Change-Number: 458501
Gerrit-PatchSet: 1
Gerrit-Owner: Frank Filz <ffilzlnx(a)mindspring.com>
Gerrit-MessageType: newchange