Mike Borozdin has uploaded this change for review.

View Change

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@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 change 1246969. To unsubscribe, or for help writing mail filters, visit settings.

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@gmail.com>