Uploaded image for project: 'Percona Server'
  1. Percona Server
  2. PS-4908

UBSan and valgrind errors with encrypted temporary files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 5.7.23-23
    • Fix Version/s: 5.7.24-26
    • Component/s: None

      Description

      1. UBSan reports error in my_b_encr_read(IO_CACHE *info, uchar *Buffer, size_t Count) when Count==0 and Buffer==NULL
      2. valgrind reports error: usage of crypt_data->block_length before initialization in my_b_encr_write()

      Fixed in 8.0 at https://github.com/percona/percona-server/pull/2584

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                przemyslaw.skibinski Przemyslaw Skibinski
                Reporter:
                przemyslaw.skibinski Przemyslaw Skibinski
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h