cvs commit: src/lib/libgssapi gss_init_sec_context.c

Hartmut Brandt harti at FreeBSD.org
Thu Jun 14 19:58:25 UTC 2007


harti       2007-06-14 19:58:24 UTC

  FreeBSD src repository

  Modified files:
    lib/libgssapi        gss_init_sec_context.c 
  Log:
  According to the documentation mech_type for gss_init_sec_context() may
  be passed as GSS_C_NO_OID in which case a default mech should be used.
  This case was not handled and leads to core dumps when using nss_ldap.
  Now use the first mech in this case. When there is no mechanism available
  return an error (this part is taken from the PR).
  
  PR:             113266
  Submitted by:   Eirik Nygaard <eirikald at pvv.ntnu.no> (partly)
  
  Revision  Changes    Path
  1.3       +9 -1      src/lib/libgssapi/gss_init_sec_context.c


More information about the cvs-all mailing list