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

[PATCH] Possible overflowing a buffer in strncat

Details

    Description

      Our static analysis tool complained about possible buffer overflow. Haven't checked how probable it is to happen, but it would be good to fix it either attached way or to replace stncats with strncpys.

      Attachments

        Issue Links

          Activity

            bertrandop,
            If it applies to 10.0 too, please feel free to adjust the 'Fix version' accordingly.

            elenst Elena Stepanova added a comment - bertrandop , If it applies to 10.0 too, please feel free to adjust the 'Fix version' accordingly.

            Thanks for raising this problem and providing patches.
            They will be applied with some typo modifications.
            Note that in newer versions, the 10.1 tabxml.cpp is identical to the 10.0 one.

            bertrandop Olivier Bertrand added a comment - Thanks for raising this problem and providing patches. They will be applied with some typo modifications. Note that in newer versions, the 10.1 tabxml.cpp is identical to the 10.0 one.
            bertrandop Olivier Bertrand added a comment - - edited

            Why am I only aware today of a problem raised last june?

            bertrandop Olivier Bertrand added a comment - - edited Why am I only aware today of a problem raised last june?

            People

              bertrandop Olivier Bertrand
              miska Michal Hrusecky
              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.