diff options
author | Michael Baentsch <57787676+baentsch@users.noreply.github.com> | 2024-02-19 06:41:35 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2024-02-22 12:48:21 +0100 |
commit | f4ed6eed2c8fcb1852938683669218655fe4f894 (patch) | |
tree | 36d38c2936c37723d3c5b9a5bcadb49564661d47 /krb5 | |
parent | db511578f7822ed6aa47760adfdc08ef84a17698 (diff) |
SSL_set1_groups_list(): Fix memory corruption with 40 groups and more
Fixes #23624
The calculation of the size for gid_arr reallocation was wrong.
A multiplication by gid_arr array item size was missing.
Testcase is added.
Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23625)
Diffstat (limited to 'krb5')
0 files changed, 0 insertions, 0 deletions