Skip to content

Commit

Permalink
object: Fix srv_checksum_tests buffer overflow
Browse files Browse the repository at this point in the history
Signed-off-by: Li Wei <[email protected]>
Required-githooks: true
  • Loading branch information
liw committed Aug 26, 2024
1 parent d1a8291 commit eb191db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/object/tests/srv_checksum_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -1275,7 +1275,7 @@ fetch_with_hole7(void **state)
.layout = {
{.data = "ABCDEFGHIJKLM", .sel = {1, 2}, .ful = {1, 13} },
{.data = "", .sel = {3, 7}, .ful = {3, 7}, .is_hole = true},
{.data = "HIJKLM", .sel = {8, 13}, .ful = {1, 13} },
{.data = "HIJKLM", .sel = {8, 13}, .ful = {8, 13} },
{.data = NULL}
}
});
Expand Down

0 comments on commit eb191db

Please sign in to comment.