@@ -688,7 +688,7 @@ parser_error_t _toStringAccessListItem_V1(
688688 CLEAN_AND_CHECK ()
689689
690690 // First measure number of pages
691- uint8_t pages [2 ];
691+ uint8_t pages [2 ] = { 0 } ;
692692 CHECK_ERROR (_toStringEvmAddress_V1 (& v -> address , outValue , outValueLen , 0 , & pages [0 ]))
693693 CHECK_ERROR (_toStringVecH256 (& v -> storageKeys , outValue , outValueLen , 0 , & pages [1 ]))
694694
@@ -828,10 +828,10 @@ parser_error_t _toStringAccountVote_V1(
828828 CLEAN_AND_CHECK ()
829829 switch (v -> value ) {
830830 case 0 :
831- _toStringAccountVoteStandard_V1 (& v -> voteStandard , outValue , outValueLen , pageIdx , pageCount );
831+ CHECK_ERROR ( _toStringAccountVoteStandard_V1 (& v -> voteStandard , outValue , outValueLen , pageIdx , pageCount ) );
832832 break ;
833833 case 1 :
834- _toStringAccountVoteSplit_V1 (& v -> voteSplit , outValue , outValueLen , pageIdx , pageCount );
834+ CHECK_ERROR ( _toStringAccountVoteSplit_V1 (& v -> voteSplit , outValue , outValueLen , pageIdx , pageCount ) );
835835 break ;
836836 default :
837837 return parser_unexpected_value ;
@@ -1044,7 +1044,7 @@ parser_error_t _toStringClassIdOfTTokenIdOfT_V1(
10441044 CLEAN_AND_CHECK ()
10451045
10461046 // First measure number of pages
1047- uint8_t pages [2 ];
1047+ uint8_t pages [2 ] = { 0 } ;
10481048 CHECK_ERROR (_toStringClassIdOfT_V1 (& v -> value1 , outValue , outValueLen , 0 , & pages [0 ]))
10491049 CHECK_ERROR (_toStringTokenIdOfT_V1 (& v -> value2 , outValue , outValueLen , 0 , & pages [1 ]))
10501050
@@ -1172,7 +1172,7 @@ parser_error_t _toStringDexShareFixed_V1(
11721172 CLEAN_AND_CHECK ()
11731173
11741174 // First measure number of pages
1175- uint8_t pages [2 ];
1175+ uint8_t pages [2 ] = { 0 } ;
11761176 CHECK_ERROR (_toStringDexShare_V1 (& v -> dexShare1 , outValue , outValueLen , 0 , & pages [0 ]))
11771177 CHECK_ERROR (_toStringDexShare_V1 (& v -> dexShare2 , outValue , outValueLen , 0 , & pages [1 ]))
11781178
@@ -1444,7 +1444,7 @@ parser_error_t _toStringPriority_V1(
14441444 CLEAN_AND_CHECK ()
14451445
14461446 // First measure number of pages
1447- uint8_t pages [2 ];
1447+ uint8_t pages [2 ] = { 0 } ;
14481448 CHECK_ERROR (_toStringu32 (& v -> stream_id , outValue , outValueLen , 0 , & pages [0 ]))
14491449 CHECK_ERROR (_toStringStreamDependency_V1 (& v -> dependency , outValue , outValueLen , 0 , & pages [1 ]))
14501450
@@ -1572,7 +1572,7 @@ parser_error_t _toStringStreamDependency_V1(
15721572 CLEAN_AND_CHECK ()
15731573
15741574 // First measure number of pages
1575- uint8_t pages [3 ];
1575+ uint8_t pages [3 ] = { 0 } ;
15761576 CHECK_ERROR (_toStringu32 (& v -> dependency_id , outValue , outValueLen , 0 , & pages [0 ]))
15771577 CHECK_ERROR (_toStringu16 ((const pd_u16_t * )& v -> weight , outValue , outValueLen , 0 , & pages [1 ]))
15781578 CHECK_ERROR (_toStringbool (& v -> is_exclusive , outValue , outValueLen , 0 , & pages [2 ]))
@@ -1616,7 +1616,7 @@ parser_error_t _toStringSwapLimitBalance_V1(
16161616 CLEAN_AND_CHECK ()
16171617
16181618 // First measure number of pages
1619- uint8_t pages [2 ];
1619+ uint8_t pages [2 ] = { 0 } ;
16201620 CHECK_ERROR (_toStringBalance (& v -> balance1 , outValue , outValueLen , 0 , & pages [0 ]))
16211621 CHECK_ERROR (_toStringBalance (& v -> balance2 , outValue , outValueLen , 0 , & pages [1 ]))
16221622
@@ -1664,7 +1664,7 @@ parser_error_t _toStringTimepoint_V1(
16641664 CLEAN_AND_CHECK ()
16651665
16661666 // First measure number of pages
1667- uint8_t pages [2 ];
1667+ uint8_t pages [2 ] = { 0 } ;
16681668 CHECK_ERROR (_toStringBlockNumber (& v -> height , outValue , outValueLen , 0 , & pages [0 ]))
16691669 CHECK_ERROR (_toStringu32 (& v -> index , outValue , outValueLen , 0 , & pages [1 ]))
16701670
@@ -1876,7 +1876,7 @@ parser_error_t _toStringVestingScheduleOf_V1(
18761876 CLEAN_AND_CHECK ()
18771877
18781878 // First measure number of pages
1879- uint8_t pages [4 ];
1879+ uint8_t pages [4 ] = { 0 } ;
18801880 CHECK_ERROR (_toStringBlockNumber (& v -> start , outValue , outValueLen , 0 , & pages [0 ]))
18811881 CHECK_ERROR (_toStringBlockNumber (& v -> period , outValue , outValueLen , 0 , & pages [1 ]))
18821882 CHECK_ERROR (_toStringBalance (& v -> balance , outValue , outValueLen , 0 , & pages [2 ]))
0 commit comments