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

[PATCH] Possible overflowing a buffer in strncat

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.1.5
    • Fix Version/s: 10.1, 10.0
    • Labels:
      None

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              elenst Elena Stepanova added a comment -

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

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

                People

                • Assignee:
                  bertrandop Olivier Bertrand
                  Reporter:
                  miska Michal Hrusecky
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated: