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

UB caused by Status enum #48

Closed
GabrielMajeri opened this issue Sep 26, 2018 · 1 comment
Closed

UB caused by Status enum #48

GabrielMajeri opened this issue Sep 26, 2018 · 1 comment
Labels

Comments

@GabrielMajeri
Copy link
Collaborator

The status codes returned on error are currently defined as an enum, but as @HadrienG2 pointed out, UEFI functions are allowed to return implementation-specific error codes, or error codes not listed in a function's specification. This could trigger undefined behavior.

@HadrienG2
Copy link
Contributor

HadrienG2 commented Sep 26, 2018

I can look into this one once I'm done fixing some avenues for memory unsafety in the safe GOP interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants