Mike Borozdin has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1246969?usp=email )
Change subject: Fix buffer overflow risk with strcpy in nfs_ip_name_add
......................................................................
Fix buffer overflow risk with strcpy in nfs_ip_name_add
In nfs_ip_name_add, replace unsafe strcpy with bounded strlcpy to
cap the string copy operation to maxsize, avoiding potential buffer
overflow risk.
Change-Id: I828fd2459ed2978814d9371d4778182127bf82cc
Signed-off-by: Mike Borozdin <nolongemails(a)gmail.com>
---
M src/support/nfs_ip_name.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/69/1246969/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1246969?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I828fd2459ed2978814d9371d4778182127bf82cc
Gerrit-Change-Number: 1246969
Gerrit-PatchSet: 1
Gerrit-Owner: Mike Borozdin <nolongemails(a)gmail.com>