Skip to content

Fix OSPEEDR and PUPDR indexing #55

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

Conversation

Javier-varez
Copy link

The field width of 2 was being applied twice in these two registers, because the PAC already accounts for it, so there is no need to apply it externally.

Thankfully the PAC triggers and out-of-bounds access to an array when this happens in debug builds, so it can be easily caught.

The field width of 2 was being applied twice in these two registers,
because the PAC already accounts for it, so there is no need to apply
it externally.

Thankfully the PAC triggers and out-of-bounds access to an array when
this happens in debug builds, so it can be easily caught.
@oshaughnessya
Copy link
Contributor

There seems to be overlapping work, take a look at #54

@Javier-varez
Copy link
Author

Right, I didn't notice a fix had been recently submitted, will close this PR. Thank you!

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