Skip to content
Commit 42fa3e66 authored by Bernd Edlinger's avatar Bernd Edlinger
Browse files

Fix a buffer overflow in drbg_ctr_generate



This can happen if the 32-bit counter overflows
and the last block is not a multiple of 16 bytes.

Fixes #12012

[extended tests]

Reviewed-by: default avatarTomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: default avatarPatrick Steuer <patrick.steuer@de.ibm.com>
Reviewed-by: default avatarKurt Roeckx <kurt@roeckx.be>
(Merged from https://github.com/openssl/openssl/pull/12016)
parent 2b584ff3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment