[authgss_hash.c] authgss_hash_init is not initialising

This issue was found by Ashish Kr Srivastava and is documented at
http://permalink.gmane.org/gmane.comp.file-systems.nfs.ganesha.devel/2000

Error Logs in nfsganesha at server side when issue is seen -
>>>>

02/05/2016 10:52:01 : epoch 5726ef84 : DSA_LDAP :
ganesha.nfsd-4131[decoder] AuthenticateRequest :DISP :INFO :Could not
authenticate request... rejecting with AUTH_STAT=AUTH_REJECTEDCRED
02/05/2016 10:54:01 : epoch 5726ef84 : DSA_LDAP :
ganesha.nfsd-4131[decoder] AuthenticateRequest :DISP :INFO :Could not
authenticate request... rejecting with AUTH_STAT=AUTH_REJECTEDCRED

We debug and found that in libntirpc file authgss_hash.c function
authgss_hash_init, the axp->gen was never initialize & used directly and
due to that reason some garbage value is assigned and its behavior is
unexpected and the above logs comes multiple times. After fix the issue is
not seen.
<<<<

Signed-off-by: Swen Schillig <swen@vnet.ibm.com>
2 files changed