Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark defined numbers as unsigned #92

Merged
merged 1 commit into from
Apr 27, 2023
Merged

Mark defined numbers as unsigned #92

merged 1 commit into from
Apr 27, 2023

Conversation

simo5
Copy link
Collaborator

@simo5 simo5 commented Apr 26, 2023

Oss-Fuzz complains that shifting an "int" left by 31 is problematic This is fine in practice at least on the compiler used in common distributions.
But let's try to address this undefined bheavior by making it clear to the compiler that we want to treat these numbers as unsigned ints.

Oss-Fuzz complains that shifting an "int" left by 31 is problematic
This is fine in practice at least on the compiler used in common
distributions.
But let's try to address this undefined bheavior by making it clear to
the compiler that we want to treat these numbers as unsigned ints.

Signed-off-by: Simo Sorce <simo@redhat.com>
@simo5 simo5 merged commit 9492bfa into gssapi:main Apr 27, 2023
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