projects
/
trust_router.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e183e38
)
Initialize TID_RESP values in constructor.
author
Jennifer Richards
<jennifer@painless-security.com>
Wed, 31 Aug 2016 20:38:48 +0000
(16:38 -0400)
committer
Jennifer Richards
<jennifer@painless-security.com>
Wed, 31 Aug 2016 20:38:48 +0000
(16:38 -0400)
tid/tid_resp.c
patch
|
blob
|
history
diff --git
a/tid/tid_resp.c
b/tid/tid_resp.c
index
3c40b3f
..
338c972
100644
(file)
--- a/
tid/tid_resp.c
+++ b/
tid/tid_resp.c
@@
-59,6
+59,16
@@
TID_RESP *tid_resp_new(TALLOC_CTX *mem_ctx)
{
TID_RESP *resp=talloc(mem_ctx, TID_RESP);
if (resp!=NULL) {
+ resp->result=TID_ERROR;
+ resp->err_msg=NULL;
+ resp->rp_realm=NULL;
+ resp->realm=NULL;
+ resp->comm=NULL;
+ resp->cons=NULL;
+ resp->orig_coi=NULL;
+ resp->servers=NULL;
+ resp->num_servers=0;
+ resp->error_path=NULL;
talloc_set_destructor((void *)resp, tid_resp_destructor);
}
return resp;