git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
f328d29
)
aklog-uninitialized-variable-20040708
author
Jeffrey Altman
<jaltman@mit.edu>
Thu, 8 Jul 2004 14:25:40 +0000 (14:25 +0000)
committer
Jeffrey Altman
<jaltman@secure-endpoints.com>
Thu, 8 Jul 2004 14:25:40 +0000 (14:25 +0000)
make sure that the krb5_context is initialized to 0. Otherwise, we
might try to free it.
src/WINNT/aklog/aklog.c
patch
|
blob
|
history
diff --git
a/src/WINNT/aklog/aklog.c
b/src/WINNT/aklog/aklog.c
index
00a5cdb
..
f3a6fb4
100644
(file)
--- a/
src/WINNT/aklog/aklog.c
+++ b/
src/WINNT/aklog/aklog.c
@@
-990,7
+990,7
@@
int main(int argc, char *argv[])
linked_list paths; /* List of paths to log to */
ll_node *cur_node;
- krb5_context context;
+ krb5_context context = 0;
memset(&cellinfo, 0, sizeof(cellinfo));