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

ASAN error on malformed WKB polygon

    XMLWordPrintable

Details

    • Can result in hang or crash

    Description

      select st_astext(st_geomfromwkb(x'0103000000020000000400000000000000000000000000000000000000000000000000f03f0000000000000000000000000000f03f000000000000f03f0000000000000000000000000000000005000000000000000000e03f000000000000e03f'));
      

      because Gis_polygon::init_from_wkb() advances wkb but does not decrement len inside the loop.

      Reported by Tristan.

      Attachments

        Activity

          People

            serg Sergei Golubchik
            serg Sergei Golubchik
            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.