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

fix dbug_print_row concurrent access

    XMLWordPrintable

Details

    Description

      History:

      e1e1e50bbaf has improved dbug_print_row and added DBUG_PRINT to ha_*_rows function, but had a use-after-free flaw.

      https://es-jenkins.mariadb.net/job/Source-Build-Test//26700/artifact/test-mtr.log/*view*
      main.type_temporal_mysql56_debug failed with asan

      7544fd4caeb959bdb5 fixed use-after-free, but
      1. has limitation of 4096 size string
      2. has race condition, since dbug_row_print_buf is global.

      Attachments

        Issue Links

          Activity

            People

              sanja Oleksandr Byelkin
              nikitamalyavin Nikita Malyavin
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.