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 07:55:47 +0000 (08:55 +0100)
commit7421f085005e0d7a1dd2fe61b991ff23cef91c22
tree281e440938caf733ecb12f4571491bdbb16af9f0
parent0c27ce7322e15a7e0733d48aaf9c8e1d1249541f
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)
crypto/rand/rand_unix.c