Reset out variables.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19963 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -50,6 +50,9 @@ _gss_string_to_oid(const char* s, gss_OID oid)
|
||||
const char *p, *q;
|
||||
char *res;
|
||||
|
||||
oid->length = 0;
|
||||
oid->elements = NULL;
|
||||
|
||||
/*
|
||||
* First figure out how many numbers in the oid, then
|
||||
* calculate the compiled oid size.
|
||||
|
Reference in New Issue
Block a user