Fix a possible crash in rand_drbg_get_entropy
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Tue, 23 Oct 2018 14:30:20 +0000 (16:30 +0200)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Fri, 26 Oct 2018 13:26:21 +0000 (15:26 +0200)
commitf3f7f1a826617af80a92f58d494ec2c8348251a5
treeb39d1e1a953b6c97dcde157a78f9b493adeab653
parent8017970c3dac45d68fb6aaca62a3c4feece48974
Fix a possible crash in rand_drbg_get_entropy

Reviewed-by: Paul Yang <yang.yang@baishancloud.com>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/7474)

(cherry picked from commit 21311777ad8b8c2f2fb8eb7a4f9618ceae1e043d)
crypto/rand/rand_lib.c