summaryrefslogtreecommitdiffstats
path: root/utils/exportfs/exportfs.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2010-09-16 13:51:51 -0400
committerSteve Dickson <steved@redhat.com>2010-09-16 14:33:51 -0400
commit76209cdbe989ee4cdfbf489f2695ac779457e763 (patch)
treef8aa455371e4c16f82ced0a925706e3b540e3d1f /utils/exportfs/exportfs.c
parenta8348c2c48d45f991995707fa22a2fa441aaa907 (diff)
downloadnfs-utils-76209cdbe989ee4cdfbf489f2695ac779457e763.tar.gz
nfs-utils-76209cdbe989ee4cdfbf489f2695ac779457e763.tar.xz
nfs-utils-76209cdbe989ee4cdfbf489f2695ac779457e763.zip
mountd: Handle memory exhaustion in mountlist_list()
I'm about to replace inet_aton(3)/gethostbyaddr(3) with host_pton()/host_canonname() in mountlist_list(). Since host_canonname() returns a string allocated with strdup(3) instead of xstrdup(), mountlist_list() must now deal with memory exhaustion properly. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/exportfs/exportfs.c')
0 files changed, 0 insertions, 0 deletions