~measurement-factory/squid/bag11

Viewing all changes in revision 14014.

  • Committer: Christos Tsantilas
  • Date: 2015-04-23 17:17:55 UTC
  • Revision ID: chtsanti@users.sourceforge.net-20150423171755-e2vz5wre9p05qpcy
Unexpected SQUID_X509_V_ERR_DOMAIN_MISMATCH errors while accessing sites with valid certificates
  
A "const char *" pointer retrieved using the SBuf::c_str() method may attached
to an SSL object using the SSL_set_ex_data method as server name used to
validate server certificates. This pointer may become invalid, causing
the SQUID_X509_V_ERR_DOMAIN_MISMATCH errors.

This patch changes the type of the ssl_ex_index_server index used with the
SSL_set_ex_data function to be an SBuf object.

This is a Measurement Factory project

merged from trunk r14034 and r14042

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: