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

An improper locking bug due to unreleased lock in the ds_archive.cc

    XMLWordPrintable

    Details

      Description

      The lock archive_ctxt->mutex is not released correctly when archive_ctxt->dest_file == NULL in the function archive_open?

      https://github.com/MariaDB/server/blob/76f4a78ba2639b5abd01a88b24a3c509c11530ce/extra/mariabackup/ds_archive.cc#L168-L175

      Also mentioned in MDEV-26556.

        Attachments

          Activity

            People

            Assignee:
            wlad Vladislav Vaintroub
            Reporter:
            Ryan Ryan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration