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

Correct format for use of memset_s in keyring_vault

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.0.21-12
    • Component/s: None
    • Labels:
      None

      Description

      incorrect arguments for memset_s

       

      The definition for memset_s(
      percona-xtrabackup/include/my_sys.h

      Line 616 in b04b2c4
       

      void memset_s(void *dest, size_t dest_max, int c, size_t n);

      ):

       

      The 2nd argument is size of buffer.
      The 3rd argument is character to fill.

        Attachments

          Activity

            People

            Assignee:
            robert.golebiowski Robert Golebiowski (Inactive)
            Reporter:
            robert.golebiowski Robert Golebiowski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Smart Checklist