projects
/
oweals
/
tinc.git
/ 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 46bb6e645d897665ee3d100ca779a68340e0b4de..0471932a2c33a51da91658ac88846bc05ad14a7d 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);