Skip to content
This repository has been archived by the owner on Oct 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #1215 from smackers/seed-more-aws-bugs
Browse files Browse the repository at this point in the history
Seed more aws bugs
  • Loading branch information
dbeyer authored Nov 9, 2020
2 parents 25d9487 + b3e52aa commit 64b907c
Show file tree
Hide file tree
Showing 13 changed files with 53,374 additions and 1 deletion.
2 changes: 1 addition & 1 deletion c/aws-c-common/aws_array_eq_c_str_harness-1.i
Original file line number Diff line number Diff line change
Expand Up @@ -7891,7 +7891,7 @@ _Bool
const uint8_t *array_bytes = array;
const uint8_t *str_bytes = (const uint8_t *)c_str;

for (size_t i = 0; i < array_len - 1; ++i) {
for (size_t i = 0; i < array_len - 1; ++i) { // introduced off-by-one bug
uint8_t s = str_bytes[i];
if (s == '\0') {
return
Expand Down
Loading

0 comments on commit 64b907c

Please sign in to comment.