Reset out variables.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19963 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-01-17 16:01:22 +00:00
parent 5e5d0e2aa1
commit 01a98f8ead
4 changed files with 6 additions and 4 deletions

View File

@@ -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.