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

AddressSanitizer error in open_or_create_log_file() in mariabackup

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.2.25, 10.3.16, 10.4.6
    • Fix Version/s: 10.2.26
    • Component/s: mariabackup
    • Labels:
      None

      Description

      ================================================================
      ==128464==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7ffed662b8c0 at pc 0x556b71667135 bp 0x7ffed6629df0 sp 0x7ffed6629de0
      WRITE of size 2 at 0x7ffed662b8c0 thread T0
         #0 0x556b71667134 in memcpy /usr/include/x86_64-linux-gnu/bits/string3.h:53
         #1 0x556b71667134 in open_or_create_log_file /__w/1/s/extra/mariabackup/xtrabackup.cc:3947
         #2 0x556b71667134 in xtrabackup_backup_func /__w/1/s/extra/mariabackup/xtrabackup.cc:4593
         #3 0x556b71667134 in main_low /__w/1/s/extra/mariabackup/xtrabackup.cc:6811
         #4 0x556b71614682 in main /__w/1/s/extra/mariabackup/xtrabackup.cc:6610
         #5 0x7fb6e040b82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
         #6 0x556b71647c68 in _start (/__w/1/s/build/extra/mariabackup/mariabackup+0x7a2c68)
      

        Attachments

          Activity

            People

            • Assignee:
              vlad.lesin Vladislav Lesin
              Reporter:
              vlad.lesin Vladislav Lesin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: