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

ConnectSE: check the sources about UCS2, UTF16, UTF32 safety

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.0.14
    • Fix Version/s: 10.0
    • Component/s: None
    • Labels:
      None

      Description

      The code in storage/connect/. use the results of val_str() in
      functions that assume 0-terminated string (e.g. strcat, strncat, etc).
      This will have unpredictable results if the source Item character set
      has mbminlen>1, which includes ucs2, utf16, utf16le, utf32.
      The code should be checked for safety against these character sets.

        Gliffy Diagrams

          Attachments

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                bar Alexander Barkov
                Reporter:
                bar Alexander Barkov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: