[openssl/openssl] 39488c: Fix system resource leak in TerminalSocket()
"'Youzi' via openssl-commits" <[email protected]>
| Newsgroups | gmane.comp.encryption.openssl.cvs |
|---|---|
| Message-ID | <openssl/openssl/push/refs/heads/openssl-3.0/[email protected]> |
Branch: refs/heads/openssl-3.0
Home: https://github.com/openssl/openssl
Commit: 39488cb863074d5b8ece833905f7ad2b357d44fe
https://github.com/openssl/openssl/commit/39488cb863074d5b8ece833905f7ad2b357d44fe
Author: YZL0v3ZZ <[email protected]>
Date: 2026-08-19 (Wed, 19 Aug 2026)
Changed paths:
M apps/lib/vms_term_sock.c
Log Message:
-----------
Fix system resource leak in TerminalSocket()
When establishing a terminal socket on OpenVMS, if the async I/O
read operation (sys$qio) fails, the error path returns early without
freeing the allocated channel via sys$dassgn.
Add sys$dassgn(TerminalDeviceChan) in the sys$qio error path during
creation. Also ensure dassgn executes regardless of whether sys$cancel
succeeds during deletion to avoid exhausting the I/O channel quota.
Reviewed-by: Nikola Pajkovsky <[email protected]>
Reviewed-by: Richard Levitte <[email protected]>
Merge-date: Wed Aug 19 15:37:03 2026
Merged-from: https://github.com/openssl/openssl/pull/30375
(cherry picked from commit ee7c64fbcd24276233d238aff1cdf9996be943cd)
To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications
--
You received this message because you are subscribed to the Google Groups "openssl-commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/a/openssl.org/d/msgid/openssl-commits/openssl/openssl/push/refs/heads/openssl-3.0/2106c2-39488c%40github.com.