projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0709d2
)
Prevent double free() of a used challenge nonce.
author
Guus Sliepen
<guus@tinc-vpn.org>
Sat, 20 Oct 2007 11:21:44 +0000
(11:21 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Sat, 20 Oct 2007 11:21:44 +0000
(11:21 +0000)
src/protocol_auth.c
patch
|
blob
|
history
diff --git
a/src/protocol_auth.c
b/src/protocol_auth.c
index
46bb6e6
..
0471932
100644
(file)
--- a/
src/protocol_auth.c
+++ b/
src/protocol_auth.c
@@
-335,6
+335,7
@@
bool chal_reply_h(connection_t *c, char *request) {
*/
free(c->hischallenge);
+ c->hischallenge = NULL;
c->allow_request = ACK;
return send_ack(c);