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

    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

        Activity

          People

            gkodinov Georgi Kodinov
            gkodinov Georgi Kodinov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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