ttauth: Coverity (memory corruption, moderate)
authorJon Trulson <jon@radscan.com>
Fri, 26 Dec 2014 23:13:07 +0000 (16:13 -0700)
committerJon Trulson <jon@radscan.com>
Fri, 26 Dec 2014 23:13:07 +0000 (16:13 -0700)
cde/lib/tt/bin/ttauth/process.c

index bafd259c39b18e54a7cb91efccb67857bf35607f..3b2eb6418b032d8e8eeff71c221f088414a3f7e9 100644 (file)
@@ -1254,7 +1254,7 @@ static int do_add (inputfilename, lineno, argc, argv)
     char *authdata_hex;
     char *authdata = NULL;
     int protodata_len, authdata_len;
-    _tt_AuthFileEntry *entry;
+    _tt_AuthFileEntry *entry = NULL;
     _tt_AuthFileEntryList *list;
     int status = 0;