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

my_reverse_bits() is incorrect due to UB

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 5.5(EOL), 10.0(EOL), 10.1(EOL), 10.2(EOL), 10.3(EOL), 10.4(EOL)
    • 10.0.37, 10.3.11, 10.1.37, 10.2.19
    • Server
    • None

    Description

      Cast is missed and char is << 24 which is UB.

      Attachments

        Activity

          kevg Eugene Kosov (Inactive) created issue -
          serg Sergei Golubchik made changes -
          Field Original Value New Value
          Assignee Eugene Kosov [ kevg ] Sergey Vojtovich [ svoj ]
          svoj Sergey Vojtovich made changes -
          Component/s Server [ 13907 ]
          Fix Version/s 10.0.37 [ 22917 ]
          Fix Version/s 10.3.11 [ 23141 ]
          Fix Version/s 10.1.37 [ 23204 ]
          Fix Version/s 10.2.19 [ 23207 ]
          Fix Version/s 10.2 [ 14601 ]
          Fix Version/s 10.0 [ 16000 ]
          Fix Version/s 10.1 [ 16100 ]
          Fix Version/s 10.3 [ 22126 ]
          Fix Version/s 10.4 [ 22408 ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 89875 ] MariaDB v4 [ 155007 ]

          People

            svoj Sergey Vojtovich
            kevg Eugene Kosov (Inactive)
            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.