Fu Juntang
2021-09-01 387fe1dbfffdc3d73cf46f2c054f4d25543c8523
src/bh_api.cpp
@@ -797,7 +797,7 @@
#if defined(PRO_DE_SERIALIZE)   
    for (i = 0; i < _input.amount; i++) {
      len = strlen(_input.topics[i]);
      strncpy(topics_buf + count, _input.topics[i], min);
      strncpy(topics_buf + count, _input.topics[i], len);
      
      count += len;