Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-39524

SET GLOBAL proxy_protocol_networks=(empty) can trigger assertion failure on next TCP connection

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Cannot Reproduce
    • 10.11.17
    • N/A
    • Parser
    • None
    • Not for Release Notes

    Description

      Server version: 5.5.5-10.11.17-MariaDB-debug-log Source distribution

      Steps:
      1. Start MariaDB debug build normally.
      2. Connect to the server using a first client connection.
      3. Execute:

      SET GLOBAL proxy_protocol_networks=(empty);
      SHOW GLOBAL VARIABLES LIKE 'proxy_protocol_networks';
      

      4. Open a *new TCP connection* to the same server. For example:

      mysql -h127.0.0.1 -P13307 -uroot -p -e "SELECT 1"
      

      5. Observe that the server aborts during connection handling, before the query is actually executed. ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 2

      Attachments

        Activity

          People

            Unassigned Unassigned
            csfuzz csfuzz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.