Hi,

According to openssl documentation: "SSL_get0_alpn_selected() returns
a pointer to the selected protocol in data with length len. It is not
NUL-terminated". It consern ssl_sock_get_alpn and smp_fetch_ssl_fc_alpn
functions and impact send-proxy-v2 with alpn. The expected get is not
an array of char but a string like other similar functions.

Can you consider this fix?

++
Manu

Attachment: 0001-BUG-MINOR-ssl-return-alpn-string-with-NULL-terminate.patch
Description: Binary data


Reply via email to