From c81eb7079f53996b2b677ca9ba82b96bd10df4ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20W=C3=B3jtowicz?= Date: Mon, 20 Oct 2025 19:31:55 +0200 Subject: [PATCH] driver: bugfix Using maybeToList will cause the accumulator to hold the trailing bytes twice. This will result in the annotator grabbing the wrong fragments in raw format. The messages will decode properly; however if these raw fragments are forwarded to other peers, they will be rejected and the remote will close the connection. --- ...ocodile-dentist_bugfix_runannotateddecoder.md | 16 ++++++++++++++++ .../lib/Ouroboros/Network/Driver/Simple.hs | 3 +-- 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 ouroboros-network/changelog.d/20251020_193107_crocodile-dentist_bugfix_runannotateddecoder.md diff --git a/ouroboros-network/changelog.d/20251020_193107_crocodile-dentist_bugfix_runannotateddecoder.md b/ouroboros-network/changelog.d/20251020_193107_crocodile-dentist_bugfix_runannotateddecoder.md new file mode 100644 index 00000000000..f57ce99a183 --- /dev/null +++ b/ouroboros-network/changelog.d/20251020_193107_crocodile-dentist_bugfix_runannotateddecoder.md @@ -0,0 +1,16 @@ + + +