Skip to content
  • Sven Sandberg's avatar
    a55d1a21
    Bug#18165937 HITTING CRASH WHEN SETTING SSL OPTIONS THROUGH CHANGE MASTER COMMAND · a55d1a21
    Sven Sandberg authored
    Problem:
    The SSL_CRL options are not available with YASSL. Therefore,
    there is an assertion in the SSL code to check that ssl_crl and
    ssl_crlpath are not set by mistake when YASSL is enabled. This
    assertion was hit from replication code because replication code
    did not have a special case to set these to NULL when YASSL is
    enabled.
    Fix:
    Replication code would set ssl_crl/ssl_crlpath in two places:
     1. In connect_to_master, we fix the bug by setting these
        variables to NULL when YASSL is enabled.
     2. The options are also set in rpl_connect_master. However, it
        turns out this function is not used anywhere. So here we fix
        the bug by removing the dead code.
    a55d1a21
    Bug#18165937 HITTING CRASH WHEN SETTING SSL OPTIONS THROUGH CHANGE MASTER COMMAND
    Sven Sandberg authored
    Problem:
    The SSL_CRL options are not available with YASSL. Therefore,
    there is an assertion in the SSL code to check that ssl_crl and
    ssl_crlpath are not set by mistake when YASSL is enabled. This
    assertion was hit from replication code because replication code
    did not have a special case to set these to NULL when YASSL is
    enabled.
    Fix:
    Replication code would set ssl_crl/ssl_crlpath in two places:
     1. In connect_to_master, we fix the bug by setting these
        variables to NULL when YASSL is enabled.
     2. The options are also set in rpl_connect_master. However, it
        turns out this function is not used anywhere. So here we fix
        the bug by removing the dead code.
Loading