Set sess to NULL after freeing it.
authorKurt Roeckx <kurt@roeckx.be>
Sat, 12 May 2018 10:08:14 +0000 (12:08 +0200)
committerKurt Roeckx <kurt@roeckx.be>
Sat, 12 May 2018 10:19:00 +0000 (12:19 +0200)
commit5f96a95e2562f026557f625e50c052e77c7bc2e8
treeaeddaca07c57a46b157ae72ea01fcd26d2f24cd0
parenta925e7dbf4c3bb01365c961df86da3ebfa1a6c27
Set sess to NULL after freeing it.

Found by OSS-fuzz

Bug introduced in commit 61fb59238dad6452a37ec14513fae617a4faef29

Reviewed-by: Matt Caswell <matt@openssl.org>
GH: #6235
ssl/t1_lib.c