[openssl/openssl] a2eea8: ssl: Remove shadowed variable in write retry path
"'Mounir IDRASSI' via openssl-commits" <[email protected]> Mon, 03 Aug 2026 08:51:35 -0700
| Newsgroups | gmane.comp.encryption.openssl.cvs |
|---|---|
| Message-ID | <openssl/openssl/push/refs/heads/master/[email protected]> |
Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: a2eea872d0af948e5b889083f248e270d7326be7
https://github.com/openssl/openssl/commit/a2eea872d0af948e5b889083f248e270d7326be7
Author: Mounir IDRASSI <[email protected]>
Date: 2026-08-03 (Mon, 03 Aug 2026)
Changed paths:
M ssl/record/methods/tls_common.c
Log Message:
-----------
ssl: Remove shadowed variable in write retry path
Commit 5f3db0d81132 "Fix false success on zero BIO write" introduced
a function-scope left variable while the app-buffer recovery block
already declared one. This breaks builds using -Werror=shadow.
Assign the current buffer length to the existing function-scope variable
in the recovery block. This preserves the previous re-read at that point
while eliminating the shadowed declaration.
Fixes: 5f3db0d81132 "Fix false success on zero BIO write"
Reviewed-by: Viktor Dukhovni <[email protected]>
Reviewed-by: Andrew Dinh <[email protected]>
Reviewed-by: Jakub Zelenka <[email protected]>
Reviewed-by: Eugene Syromiatnikov <[email protected]>
MergeDate: Mon Aug 3 15:46:22 2026
(Merged from https://github.com/openssl/openssl/pull/32153)
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/master/5f3db0-a2eea8%40github.com.