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

warning C4789: in function 'void __cdecl store_compressed_length() buffer 'buf' of size 4 bytes will be overrun; 8 bytes will be written starting at offset 1

    XMLWordPrintable

Details

    • Not for Release Notes

    Description

      This warning appears when compiling server on Windows with -DCMAKE_INTERPROCEDURAL_OPTIMIZATION. With link-time optimization, compiler knows that the stack buffer maybe too small for some inputs (it is only 4 bytes, while maximal buffer size, for sizes > 16M is 9 bytes)

      Attachments

        Activity

          People

            wlad Vladislav Vaintroub
            wlad Vladislav Vaintroub
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.