We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46b8883 commit e70ebc9Copy full SHA for e70ebc9
src/flamenco/runtime/tests/harness/fd_block_harness.c
@@ -172,6 +172,9 @@ fd_runtime_fuzz_block_update_prev_epoch_votes_cache( fd_vote_accounts_pair_globa
172
fd_memcpy( &vote_node->elem.value.owner, vote_account->owner, sizeof(fd_pubkey_t) );
173
174
uchar * data = fd_spad_alloc( spad, alignof(uchar), vote_account->data->size );
175
+ if( FD_UNLIKELY( NULL == data ) ) {
176
+ FD_LOG_ERR(( "fd_spad_alloc failed" ));
177
+ }
178
memcpy( data, vote_account->data->bytes, vote_account->data->size );
179
fd_solana_account_data_update( &vote_node->elem.value, data );
180
0 commit comments