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

Protocol_text allocates memory without error checking

Details

    • Bug
    • Status: Stalled (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.5.27
    • 10.5
    • Server

    Description

      net_buffer_length is allocated in the Protocol_text constructor in the code without checking if this allocation was successful.

      Attachments

        Activity

          danblack Daniel Black added a comment - knielsen , can I get a review on https://github.com/MariaDB/server/pull/3699 please.

          Added some review comments. The patch is good, but not for 10.5, let's do latest dev branch or 11.4 at the earliest.

          knielsen Kristian Nielsen added a comment - Added some review comments. The patch is good, but not for 10.5, let's do latest dev branch or 11.4 at the earliest.

          People

            danblack Daniel Black
            danblack Daniel Black
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.