Menu

#17 RPCSEC_GSS_SVC_PRIVACY failure.

open
nobody
None
5
2012-11-20
2011-03-02
Anonymous
No

In authgss_prot.c:xdr_rpc_gss_wrap_data(), gss_wrap() is called in the svc == RPCSEC_GSS_SVC_PRIVACY conditional block with databuf.length uninitialized.

Initialization performed in the svc == RPCSEC_GSS_SVC_INTEGRITY conditional block should be moved.

Discussion

  • Nobody/Anonymous

    Fix.

     
  • steved

    steved - 2011-03-02

    At the top of each routine there is a 'memset(&databuf, 0, sizeof(databuf));' call...
    So databuf.length is being initialized to zero

     
  • Matthew N. Dodd

    Matthew N. Dodd - 2011-03-02

    And passing databuf with length set to zero to gss_wrap() will do what, exactly?

     
  • Matthew N. Dodd

    Matthew N. Dodd - 2011-06-06

    Could the bug tracker admin change the submitter to me so I can update this bug with a patch?

     
MongoDB Logo MongoDB