svn rev #23571: trunk/src/kadmin/testing/util/
epeisach@MIT.EDU
epeisach at MIT.EDU
Sun Jan 3 09:27:02 EST 2010
http://src.mit.edu/fisheye/changelog/krb5/?cs=23571
Commit By: epeisach
Log Message:
Initialize variables in case of error path winds up freeing stack garbage
Changed Files:
U trunk/src/kadmin/testing/util/tcl_kadm5.c
Modified: trunk/src/kadmin/testing/util/tcl_kadm5.c
===================================================================
--- trunk/src/kadmin/testing/util/tcl_kadm5.c 2010-01-03 03:00:24 UTC (rev 23570)
+++ trunk/src/kadmin/testing/util/tcl_kadm5.c 2010-01-03 14:27:02 UTC (rev 23571)
@@ -849,7 +849,7 @@
krb5_key_data **key_data,
int n_key_data)
{
- const char **argv;
+ const char **argv = NULL;
int argc, retcode;
*key_data = NULL;
@@ -889,7 +889,7 @@
int n_tl_data)
{
krb5_tl_data *tl, *tl2;
- const char **argv, **argv1 = NULL;
+ const char **argv = NULL, **argv1 = NULL;
int i, tmp, argc, argc1, retcode;
*tlp = NULL;
More information about the cvs-krb5
mailing list