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

Do not overflow default handle on 32 bits architectures #428

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

maraino
Copy link
Contributor

@maraino maraino commented Feb 14, 2024

The default handle 0x81000001 (2164260865) overflows int if compiled on a 32 bits architecture (linux/386). This change changes the type of the handles to tpmutil.Handle that are uint32.

The default handle 0x81000001 (2164260865) overflows int if compiled on
a 32 bits architecture (linux/386). This change change the type of the
handles to tpmutil.Handle that are uint32.
@maraino maraino merged commit e352efd into master Feb 15, 2024
15 checks passed
@maraino maraino deleted the mariano/parent branch February 15, 2024 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants