[krbdev.mit.edu #7087] SVN Commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Mon Feb 6 18:19:10 EST 2012


Set display_value in krb5_gss_get_name_attribute

A backwards conditional in r25358 caused krb5_gss_get_name_attribute
not to set display_value on success.  Fix the sense of the
conditional.

We still don't quite correctly handle the cases where data_to_gss()
fails, but those should be rare and the problem in those cases isn't
severe, so it can be fixed separately.

Also, value and display_value should probably be initialized to null
buffers on failure, as is common with GSS interfaces.

http://src.mit.edu/fisheye/changelog/krb5/?cs=25674
Commit By: ghudson
Revision: 25674
Changed Files:
U   trunk/src/lib/gssapi/krb5/naming_exts.c



More information about the krb5-bugs mailing list