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

mariadb-10.5.6/storage/connect/plugutil.cpp:380: bad width ?

    XMLWordPrintable

Details

    Description

      mariadb-10.5.6/storage/connect/plugutil.cpp:380:7: error: Width 256 given in format string (no. 1) is larger than destination buffer 'msgid[32]', use %31s to prevent overflowing it. [invalidScanfFormatWidth]

      Source code is

        if (sscanf(buff, " %*d %-.256s \"%[^\"]", msgid, stmsg) < 2) {
      

      Attachments

        Activity

          People

            serg Sergei Golubchik
            dcb David Binderman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

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