Variable initialization in hdb_sqlite_store()
If the call to krb5_unparse_name() fails, we might try to free an uninitialized pointer.
This commit is contained in:
@@ -482,7 +482,7 @@ hdb_sqlite_store(krb5_context context, HDB *db, unsigned flags,
|
||||
int ret;
|
||||
int i;
|
||||
sqlite_int64 entry_id;
|
||||
char *principal_string;
|
||||
char *principal_string = NULL;
|
||||
char *alias_string;
|
||||
const HDB_Ext_Aliases *aliases;
|
||||
|
||||
|
Reference in New Issue
Block a user