Don't include the NUL in the length of the string.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19926 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -59,7 +59,7 @@ gss_oid_to_str(OM_uint32 *minor_status, gss_OID oid, gss_buffer_t oid_str)
|
||||
}
|
||||
|
||||
oid_str->value = p;
|
||||
oid_str->length = strlen(p) + 1;
|
||||
oid_str->length = strlen(p);
|
||||
|
||||
*minor_status = 0;
|
||||
return GSS_S_COMPLETE;
|
||||
|
Reference in New Issue
Block a user