projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
045b280
)
Set s->d1 to NULL after freeing it.
author
Dr. Stephen Henson
<steve@openssl.org>
Mon, 8 Apr 2013 17:03:12 +0000
(18:03 +0100)
committer
Dr. Stephen Henson
<steve@openssl.org>
Mon, 8 Apr 2013 17:24:42 +0000
(18:24 +0100)
ssl/d1_lib.c
patch
|
blob
|
history
diff --git
a/ssl/d1_lib.c
b/ssl/d1_lib.c
index ddbb78a199a7b764f4a723048a579c1d3b2c94d4..b70bce68ad0eb24dcadcfbbd0982f6bd27f32e67 100644
(file)
--- a/
ssl/d1_lib.c
+++ b/
ssl/d1_lib.c
@@
-222,6
+222,7
@@
void dtls1_free(SSL *s)
pqueue_free(s->d1->buffered_app_data.q);
OPENSSL_free(s->d1);
+ s->d1 = NULL;
}
void dtls1_clear(SSL *s)