rand_unix.c: Ensure requests to KERN_ARND don't exceed 256 bytes.
authornia <nia@netbsd.org>
Thu, 30 Apr 2020 13:43:04 +0000 (14:43 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 4 May 2020 08:04:41 +0000 (09:04 +0100)
commit352933bd664e6145366b51b50821c8aefd652aa8
tree7de0721d248fe8dc89d5275629ba704c5ea0cb51
parent3c64c50bcf848bd341dd4c4541a70a76883f5147
rand_unix.c: Ensure requests to KERN_ARND don't exceed 256 bytes.

Requests for more than 256 bytes will fail.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11689)

(cherry picked from commit 7421f085005e0d7a1dd2fe61b991ff23cef91c22)
crypto/rand/rand_unix.c