Fix use-after-free
authorRich Salz <rsalz@openssl.org>
Mon, 17 Jul 2017 06:52:26 +0000 (02:52 -0400)
committerRich Salz <rsalz@openssl.org>
Mon, 17 Jul 2017 11:46:49 +0000 (07:46 -0400)
commit54e5ba058b4f2c6042c14d44868077e9ffcff818
tree034f4ded133914ea8b07b0b623834eac7d84ae9e
parentf1b8b0010a5cdd76d1284ea47e9b5995dcd6f089
Fix use-after-free

Also fix a RANDerr call.

Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3947)
apps/app_rand.c
crypto/rand/randfile.c