summaryrefslogtreecommitdiffstats
path: root/support/export/export.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2007-08-21 12:19:13 -0400
committerNeil Brown <neilb@suse.de>2007-08-24 13:15:02 +1000
commitbd8cc33c7c089d5d36151732f4c00a836e7732e6 (patch)
tree333d5f32a0f1c8e9ceda8bceadec2eb42cc6b592 /support/export/export.c
parent29637ac0140db80744b24b0c5d655d435b69ba35 (diff)
downloadnfs-utils-bd8cc33c7c089d5d36151732f4c00a836e7732e6.tar.gz
nfs-utils-bd8cc33c7c089d5d36151732f4c00a836e7732e6.tar.xz
nfs-utils-bd8cc33c7c089d5d36151732f4c00a836e7732e6.zip
mount.nfs: getport() should avoid modifying passed-in arguments
Defensive coding: getport() shouldn't alter the passed-in server address, but should treat it as read only. Have it operate on a copy. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'support/export/export.c')
0 files changed, 0 insertions, 0 deletions