Skip to content

Commit

Permalink
Merge remote-tracking branch 'leap/release/5.0' into gh_2330_1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
greg7mdp committed Aug 20, 2024
2 parents 05ffa5d + dcbdb86 commit b775dce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libraries/chain/abi_serializer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ namespace eosio { namespace chain {
fc::raw::unpack(stream, size);
} EOS_RETHROW_EXCEPTIONS( unpack_exception, "Unable to unpack size of array '${p}'", ("p", ctx.get_path_string()) )
vector<fc::variant> vars;
vars.reserve(size);
vars.reserve(std::min(size.value, 1024u)); // limit the maximum size that can be reserved before data is read
auto h1 = ctx.push_to_path( impl::array_index_path_item{} );
for( decltype(size.value) i = 0; i < size; ++i ) {
ctx.set_array_index_of_path_back(i);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ namespace eosio { namespace chain {
using value_type = std::array<uint128_t, N>;

static value_type true_lowest() {
value_type arr;
value_type arr = {};
return arr;
}

Expand Down

0 comments on commit b775dce

Please sign in to comment.