From 33e3f72d246ce58336a52c24d5bbb31fdd02600b Mon Sep 17 00:00:00 2001 From: jeffro256 Date: Fri, 17 Nov 2023 02:19:45 -0600 Subject: serialization: fix infinite loops and clean up dispatching Resolves #8687 --- src/cryptonote_basic/tx_extra.h | 8 +-- src/serialization/container.h | 4 +- src/serialization/debug_archive.h | 10 ++- src/serialization/difficulty_type.h | 2 - src/serialization/pair.h | 4 +- src/serialization/serialization.h | 125 +++++++----------------------------- src/serialization/tuple.h | 2 +- src/serialization/variant.h | 45 +++++-------- 8 files changed, 53 insertions(+), 147 deletions(-) (limited to 'src') diff --git a/src/cryptonote_basic/tx_extra.h b/src/cryptonote_basic/tx_extra.h index 141f72352..c168f48a7 100644 --- a/src/cryptonote_basic/tx_extra.h +++ b/src/cryptonote_basic/tx_extra.h @@ -52,7 +52,7 @@ namespace cryptonote // load template