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

Fix GPT signature test #895

Merged
merged 1 commit into from
Jul 17, 2024
Merged

Conversation

jadonk
Copy link
Contributor

@jadonk jadonk commented Jul 16, 2024

gpt.Signature is not a null-terminated string, but an 8-byte character array. Using strcmp will not provide a valid result. Use strncmp over the first 8 bytes instead.

gpt.Signature is not a null-terminated string, but an 8-byte character array. Using `strcmp` will not provide a valid result. Use `strncmp` over the first 8 bytes instead.

Signed-off-by: Jason Kridner <jkridner@beagleboard.org>
@tdewey-rpi tdewey-rpi merged commit c1c8c5a into raspberrypi:qml Jul 17, 2024
@tdewey-rpi
Copy link
Collaborator

Thanks for the submission, @jadonk!

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.

2 participants