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

Harden Proxy Protocol V2 parsing against OOB reads and short reads

    XMLWordPrintable

Details

    • Not for Release Notes

    Description

      This improves validation in the PROXY protocol v2 parsing path.

      The previous implementation assumed vio_read() would return the full
      requested number of bytes, but short reads are possible and could leave
      parts of the header buffer only partially initialized while parsing
      continued.

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              gkodinov Georgi Kodinov
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.