summaryrefslogtreecommitdiffstats
path: root/utils/gssd/krb5_util.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2010-04-16 13:03:20 -0400
committerSteve Dickson <steved@redhat.com>2010-04-16 13:03:20 -0400
commit470448e77bd673b206cf40820f966dcb8f029f27 (patch)
treeb9a0c29110038240bd25665e88cd6a380731b6d8 /utils/gssd/krb5_util.c
parent9b7cc679c70d00af3f44dc6a8b44a360a2423d64 (diff)
downloadnfs-utils-470448e77bd673b206cf40820f966dcb8f029f27.tar.gz
nfs-utils-470448e77bd673b206cf40820f966dcb8f029f27.tar.xz
nfs-utils-470448e77bd673b206cf40820f966dcb8f029f27.zip
libexport.a: export_find() should handle address parsing errors
An address mask parsing error can cause client_init(), and therefore client_dup(), to make our process exit suddenly. Soon we want to add more complex address parsing in client_init(), so we need this interface to be a little more robust. Since export_find() can return NULL in some cases, it can handle NULL returns from its subroutines if an address parsing error occurs, or if memory is exhausted. Allow for client_dup() to return NULL instead of exiting sideways. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/gssd/krb5_util.c')
0 files changed, 0 insertions, 0 deletions