[openssl/openssl] a03108: Fix bug in priority queue remove function
Pauli
noreply at github.com
Wed Nov 8 11:11:15 UTC 2023
Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: a03108778044cc0d428ce38084ef6f318446fbe3
https://github.com/openssl/openssl/commit/a03108778044cc0d428ce38084ef6f318446fbe3
Author: Pauli <pauli at openssl.org>
Date: 2023-11-08 (Wed, 08 Nov 2023)
Changed paths:
M ssl/priority_queue.c
Log Message:
-----------
Fix bug in priority queue remove function
The short circuit in the remove function when the element is the last in the
heap, failed to add the removed slot back to the freelist.
Fixes #22644
Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22646)
Commit: 0efcf1384fd320a6235e90d7b078ad89ea504d16
https://github.com/openssl/openssl/commit/0efcf1384fd320a6235e90d7b078ad89ea504d16
Author: Pauli <pauli at openssl.org>
Date: 2023-11-08 (Wed, 08 Nov 2023)
Changed paths:
M test/priority_queue_test.c
Log Message:
-----------
Add unit test for #22644
Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22646)
Compare: https://github.com/openssl/openssl/compare/ec0d22fe1571...0efcf1384fd3
More information about the openssl-commits
mailing list