Skip to content

Make sure the order parameter is smaller than 32#30

Open
piotrszulcaptiv wants to merge 1 commit intoquiet:masterfrom
piotrszulcaptiv:piotrszulcaptiv-patch-1
Open

Make sure the order parameter is smaller than 32#30
piotrszulcaptiv wants to merge 1 commit intoquiet:masterfrom
piotrszulcaptiv:piotrszulcaptiv-patch-1

Conversation

@piotrszulcaptiv
Copy link

The order parameter is later used as an argument for bit shifting, which results in undefined behavior if the argument is bigger than 31.
Found by Coverity (a static code analyzer).

The order parameter is later used as an argument for bit shifting, which results in undefined behavior if the argument is bigger than 31.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant