Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 277991 Details for
Bug 411751
CVE-2007-5965 qt4: QSslSocket may skip SSL certificate verification
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Upstream patch
qsslsocket-fix.patch (text/plain), 1.51 KB, created by
Tomas Hoger
on 2007-12-05 10:03:17 UTC
(
hide
)
Description:
Upstream patch
Filename:
MIME Type:
Creator:
Tomas Hoger
Created:
2007-12-05 10:03:17 UTC
Size:
1.51 KB
patch
obsolete
>diff src/network/qsslsocket_openssl.cpp src/network/qsslsocket_openssl.cpp >--- src/network/qsslsocket_openssl.cpp >+++ src/network/qsslsocket_openssl.cpp >@@ -188,8 +188,8 @@ struct QSslErrorList > Q_GLOBAL_STATIC(QSslErrorList, _q_sslErrorList) > static int q_X509Callback(int ok, X509_STORE_CTX *ctx) > { >- Q_UNUSED(ok); >- _q_sslErrorList()->errors << ctx->error; >+ if (!ok) >+ _q_sslErrorList()->errors << ctx->error; > return ctx->error; > } > >@@ -297,6 +297,7 @@ bool QSslSocketBackendPrivate::initSslContext() > > // Clear the session. > q_SSL_clear(ssl); >+ errorList.clear(); > > // Initialize memory BIOs for encryption and decryption. > readBio = q_BIO_new(q_BIO_s_mem()); >@@ -570,7 +571,7 @@ bool QSslSocketBackendPrivate::testConnection() > _q_sslErrorList()->mutex.lock(); > _q_sslErrorList()->errors.clear(); > int result = (mode == QSslSocket::SslClientMode) ? q_SSL_connect(ssl) : q_SSL_accept(ssl); >- QList<int> errorList = _q_sslErrorList()->errors; >+ errorList << _q_sslErrorList()->errors; > _q_sslErrorList()->mutex.unlock(); > > // Check if we're encrypted or not. >diff src/network/qsslsocket_openssl_p.h src/network/qsslsocket_openssl_p.h >index be57b87..00b9b45 100644 >--- src/network/qsslsocket_openssl_p.h >+++ src/network/qsslsocket_openssl_p.h >@@ -77,6 +77,7 @@ public: > SSL_SESSION *session; > X509_STORE *certificateStore; > X509_STORE_CTX *certificateStoreCtx; >+ QList<int> errorList; > > // Platform specific functions > void startClientEncryption();
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 411751
: 277991