[openssl/openssl] a3912a: ssl/statem/statem_dtls.c: fix leak in dtls1_buffer...

0 views
Skip to first unread message

Huihui Huang

unread,
Mar 21, 2026, 7:35:43 PM (3 days ago) Mar 21
to openssl...@openssl.org
Branch: refs/heads/openssl-3.3
Home: https://github.com/openssl/openssl
Commit: a3912a5b301469d96c9b2f28de1259efad009716
https://github.com/openssl/openssl/commit/a3912a5b301469d96c9b2f28de1259efad009716
Author: huanghuihui0904 <625...@qq.com>
Date: 2026-03-22 (Sun, 22 Mar 2026)

Changed paths:
M ssl/statem/statem_dtls.c

Log Message:
-----------
ssl/statem/statem_dtls.c: fix leak in dtls1_buffer_message()

pqueue_insert() may fail, but its return value was not checked. This could leak the allocated pitem and handshake fragment. Free them when insertion fails, using pitem_free() for proper cleanup.

Solves https://github.com/openssl/openssl/issues/30442

Fixes #30442

Signed-off-by: huanghuihui0904 <625...@qq.com>

Reviewed-by: Matt Caswell <ma...@openssl.foundation>
Reviewed-by: Frederik Wedel-Heinen <fwh.o...@gmail.com>
Reviewed-by: Eugene Syromiatnikov <es...@openssl.org>
MergeDate: Sat Mar 21 23:30:44 2026
(Merged from https://github.com/openssl/openssl/pull/30443)



To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications
Reply all
Reply to author
Forward
0 new messages