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

Seed more aws bugs #1215

Merged
merged 6 commits into from
Nov 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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