Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature sync #4

Merged
merged 13 commits into from
Feb 13, 2025
Prev Previous commit
[audit] add missing check
dangell7 committed Dec 13, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 28f88ddfc19bc60871a9f04826031b5d1d8f13e3
2 changes: 1 addition & 1 deletion src/xrp/xrp_parse.c
Original file line number Diff line number Diff line change
@@ -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));

Unchanged files with check annotations Beta

}
static void format_standard_currency(xrp_currency_t *currency, char *buf, size_t size) {
if (has_non_standard_currency_internal(currency->buf)) {
} else if (is_all_zeros(currency->buf, 20)) {

Check notice

Code scanning / CodeQL

Empty branch of conditional Note

Empty block without comment.
// Special case for XRP currency
strncpy(buf, "XRP", size);
} else {