Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 636836 Details for
Bug 721570
net-vpn/ocserv-1.0.1: test failures on arm64 due to stack smashing detection with LD_PRELOAD=libsocket_wrapper.so
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
openconnect-8.06-get_cert_name-overflow.patch
openconnect-8.06-get_cert_name-overflow.patch (text/plain), 686 bytes, created by
Sergei Trofimovich (RETIRED)
on 2020-05-08 14:02:17 UTC
(
hide
)
Description:
openconnect-8.06-get_cert_name-overflow.patch
Filename:
MIME Type:
Creator:
Sergei Trofimovich (RETIRED)
Created:
2020-05-08 14:02:17 UTC
Size:
686 bytes
patch
obsolete
>https://bugs.gentoo.org/721570 > >--- a/gnutls.c >+++ b/gnutls.c >@@ -556,9 +556,12 @@ static int count_x509_certificates(gnutls_datum_t *datum) > > static int get_cert_name(gnutls_x509_crt_t cert, char *name, size_t namelen) > { >+ /* We assume 'nl' is updated only when gnutls_x509_crt_get_dn*() >+ * fail. Avoid clobbering original 'namelen'. */ >+ size_t nl = namelen; > if (gnutls_x509_crt_get_dn_by_oid(cert, GNUTLS_OID_X520_COMMON_NAME, >- 0, 0, name, &namelen) && >- gnutls_x509_crt_get_dn(cert, name, &namelen)) { >+ 0, 0, name, &nl) && >+ gnutls_x509_crt_get_dn(cert, name, &nl)) { > name[namelen-1] = 0; > snprintf(name, namelen-1, "<unknown>"); > return -EINVAL;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 721570
:
636780
|
636782
| 636836