Skip to content

Commit

Permalink
[audit] add missing check
Browse files Browse the repository at this point in the history
  • Loading branch information
dangell7 committed Dec 13, 2024
1 parent c777618 commit 28f88dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xrp/xrp_parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ err_t read_vector256_field(parseContext_t *context, field_t *field) {
CHECK(read_next_byte(context, &value));

uint16_t count = value / XRP_VECTOR256_SIZE;
read_fixed_size_field(context, field, XRP_VECTOR256_SIZE * count);
CHECK(read_fixed_size_field(context, field, XRP_VECTOR256_SIZE * count));
for (size_t i = 0; i < count; i++) {
field_t *hash256;
CHECK(append_new_field(context, &hash256));
Expand Down

0 comments on commit 28f88dd

Please sign in to comment.