Closed justsmth closed 1 week ago
Attention: Patch coverage is 50.00000%
with 3 lines
in your changes missing coverage. Please review.
Project coverage is 78.77%. Comparing base (
c9d48a6
) to head (c64f830
). Report is 15 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
crypto/fipsmodule/modes/gcm.c | 50.00% | 3 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Issues:
Addresses aws/aws-lc-rs#574
Context
The compiler cannot always confirm that the array indices used are within the required bounds. On certain platform, specifically powerpc64le in this case, the compiler may generate a warning about it. For our build, warnings are treated as errors thus causing compilation to fail.
Description of changes:
Adds sanity checks to several locations in
gcm.c
that abort if the logic would reference an out-of-bounds index of an array.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.