Skip to content

Fix unhandled unknown tls-verify-method and uninitialized buffers in TLS verification#602

Open
AZero13 wants to merge 1 commit into
ppp-project:masterfrom
AZero13:fix-tls-segfault
Open

Fix unhandled unknown tls-verify-method and uninitialized buffers in TLS verification#602
AZero13 wants to merge 1 commit into
ppp-project:masterfrom
AZero13:fix-tls-segfault

Conversation

@AZero13

@AZero13 AZero13 commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

If the user provides an unknown tls-verify-method option, the certificate verification logic would previously fall through and leave ptr2 uninitialized (NULL), leading to a segmentation fault when attempting to call 'strcmp'.

…TLS verification

If the user provides an unknown tls-verify-method option, the certificate verification logic would previously fall through and leave ptr2 uninitialized (NULL), leading to a segmentation fault
when attempting to call 'strcmp'.

Signed-off-by: Rose <gfunni234@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant