Skip to content

Conversation

@sertonix
Copy link

Writing to the first byte of a multi-byte int value is inconsistent between endianess. Using a uint8_t value in between allows for correct results on big-endian systems as well.

Fixes 53691ff Added hardened boundary condition checks.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Writing to the first byte of a multi-byte int value is inconsistent
between endianess. Using a uint8_t value in between allows for correct
results on big-endian systems as well.

Fixes 53691ff Added hardened boundary condition checks. (awslabs#71)
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