Skip to content
Snippets Groups Projects
Commit 06c01338 authored by Dmitriy A. Gerasimov's avatar Dmitriy A. Gerasimov
Browse files

[*] Bugfix

parent f11ae50e
No related branches found
No related tags found
No related merge requests found
Pipeline #6492 passed with stage
in 13 seconds
......@@ -859,6 +859,8 @@ char* dap_chain_global_db_hash(const uint8_t *data, size_t data_size)
void* dap_db_log_unpack(const void *a_data, size_t a_data_size, size_t *a_store_obj_count)
{
const dap_store_obj_pkt_t *l_pkt = (const dap_store_obj_pkt_t*) a_data;
if (! l_pkt)
return NULL;
if(!l_pkt || l_pkt->data_size != ((size_t) a_data_size - sizeof(dap_store_obj_pkt_t)))
return NULL;
size_t l_store_obj_count = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment