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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 10.3(EOL), 10.4(EOL), 10.5(EOL), 10.6, 10.7(EOL), 10.8(EOL), 10.9(EOL)
    • 10.6
    • None
    • 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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.