File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ int LLVMFuzzerTestOneInput(unsigned char *data, size_t size)
4949 if (ret2 == MSGPACK_UNPACK_SUCCESS ) {
5050 msgpack_object root = result .data ;
5151 char * tmp = NULL ;
52- tmp = flb_msgpack_to_json_str (0 , & root );
52+ tmp = flb_msgpack_to_json_str (0 , & root , FLB_TRUE );
5353 if (tmp != NULL ) {
5454 flb_free (tmp );
5555 }
@@ -60,7 +60,7 @@ int LLVMFuzzerTestOneInput(unsigned char *data, size_t size)
6060 if (decider < 0x30 ) {
6161 flb_sds_t ret_s = flb_pack_msgpack_to_json_format (out_buf , out_size ,
6262 FLB_PACK_JSON_FORMAT_LINES ,
63- (int )decider , d );
63+ (int )decider , d , FLB_TRUE );
6464 free (out_buf );
6565 if (ret_s != NULL ) {
6666 flb_sds_destroy (ret_s );
@@ -69,7 +69,7 @@ int LLVMFuzzerTestOneInput(unsigned char *data, size_t size)
6969 else {
7070 flb_sds_t ret_s = flb_pack_msgpack_to_json_format (out_buf , out_size ,
7171 FLB_PACK_JSON_FORMAT_LINES ,
72- FLB_PACK_JSON_DATE_EPOCH , NULL );
72+ FLB_PACK_JSON_DATE_EPOCH , NULL , FLB_TRUE );
7373 free (out_buf );
7474 if (ret_s != NULL ) {
7575 flb_sds_destroy (ret_s );
You can’t perform that action at this time.
0 commit comments