Frank Filz has uploaded this change for review.
Change string parsing in setup_client_saddr to allow more address formats
By making a copy of the uaddr string, and truncating off the port
bytes, we can pass the remaining string to inet_pton directly and
it will parse more (all) of the formats allowd for uaddr strings.
Along the way, we also save potentially unsafe snprintf and skip
sscanf.
Change-Id: I00c64c52cd03cd73a16958681aef8c7c052a9be6
Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
---
M src/MainNFSD/nfs_rpc_callback.c
1 file changed, 43 insertions(+), 28 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/02/458502/1
To view, visit change 458502. To unsubscribe, or for help writing mail filters, visit settings.