Files
Nikola PajkovskyandNorbert Pocs 7194354488 fix UB in priority_queue
clang-22 reports UB during test make test V=0 TESTS=test_priority_queue

ssl/priority_queue.c:159:13: runtime error: call to function size_t_compare through pointer to incorrect function type 'int (*)(const void *, const void *)'
/home/npajkovsky/openssl/openssl/test/priority_queue_test.c:28: note: size_t_compare defined here
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ssl/priority_queue.c:159:13

Fixes: https://github.com/openssl/project/issues/1953
Signed-off-by: Nikola Pajkovsky <nikolap@openssl.org>

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Norbert Pocs <norbertp@openssl.org>
MergeDate: Tue May 19 10:43:59 2026
(Merged from https://github.com/openssl/openssl/pull/31209)
2026-05-19 12:43:54 +02:00
..
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2026-03-25 15:12:53 +01:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2026-05-06 13:35:24 +02:00
2025-12-09 00:28:19 -07:00
2026-05-06 13:35:24 +02:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2026-05-06 13:35:24 +02:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2026-03-10 14:37:52 +00:00
2025-12-09 00:28:19 -07:00
2026-03-24 18:21:19 +01:00
2025-12-09 00:28:19 -07:00
2026-05-06 13:35:24 +02:00
2026-05-06 13:35:24 +02:00
2025-12-09 00:28:19 -07:00
2026-03-10 14:37:52 +00:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2026-03-10 14:37:52 +00:00
2025-12-09 00:28:19 -07:00
2026-05-06 13:35:24 +02:00
2026-05-06 13:35:24 +02:00
2026-05-19 12:43:54 +02:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2026-05-06 13:35:24 +02:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2026-05-06 13:35:24 +02:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2026-05-06 13:35:24 +02:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2026-03-10 14:37:52 +00:00
2025-12-09 00:28:19 -07:00
2026-05-06 13:35:24 +02:00
2026-05-06 13:35:24 +02:00
2025-12-09 00:28:19 -07:00
2026-03-10 14:37:52 +00:00
2026-05-06 13:35:24 +02:00
2026-05-06 13:35:24 +02:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2026-05-06 13:35:24 +02:00
2026-05-06 13:35:24 +02:00
2026-05-06 13:35:24 +02:00
2026-03-10 14:37:52 +00:00
2025-12-09 00:28:19 -07:00