summaryrefslogtreecommitdiffstats
path: root/support/nfs/svc_create.c
diff options
context:
space:
mode:
authorJianhong Yin <jiyin@redhat.com>2015-11-04 16:28:47 -0500
committerSteve Dickson <steved@redhat.com>2015-11-04 16:28:47 -0500
commit67a0768370a54100c77e58f611e1d1fceb93e2c0 (patch)
treee403bdb61965b4575e303788d475fcb9252d4cb8 /support/nfs/svc_create.c
parent19e6ba690c7e9674dae006cfce89f638c8d8edab (diff)
downloadnfs-utils-67a0768370a54100c77e58f611e1d1fceb93e2c0.tar.gz
nfs-utils-67a0768370a54100c77e58f611e1d1fceb93e2c0.tar.xz
nfs-utils-67a0768370a54100c77e58f611e1d1fceb93e2c0.zip
exportfs: Fix buf size in test_export() dump()
From: Jianhong Yin <jiyin@redhat.com> The buf[] size in test_export() is not enough for NFS_MAXPATHLEN + prefix/suffix proto string. Fix it and same issue in dump(). And just to be on the safe side, %s/sprintf/snprintf/ Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/nfs/svc_create.c')
0 files changed, 0 insertions, 0 deletions