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:
3087bd3
)
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:40:08 +0000
(18:40 +0100)
(cherry picked from commit
04638f2fc335a6dc2af8e5d556d36e29c261dcd2
)
ssl/d1_lib.c
patch
|
blob
|
history
diff --git
a/ssl/d1_lib.c
b/ssl/d1_lib.c
index 84799321362990b53aecf870745a9c9dc2a746e4..97f325f32cb04fde83965f5e1faa0df33e20494e 100644
(file)
--- a/
ssl/d1_lib.c
+++ b/
ssl/d1_lib.c
@@
-195,6
+195,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)