Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-4569

Undefined behavior in simd_canonical.cc

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Trivial
    • Resolution: Fixed
    • 22.08.5, 23.02.1
    • 22.08.6, 23.02.2
    • Core
    • None
    • MXS-SPRINT-180

    Description

      colored textThe code uses _mm256_movemask_epi8 with an auto type. The intrinsic returns a signed integer which later on is used in a left shift. If the value is negative value, the behavior is undefined according to the C++11 standard.

      Attachments

        Activity

          People

            nantti Niclas Antti
            markus makela markus makela
            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.