From 4267b0eb7c673192647fe1a24459602b34b5d1d1 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Tue, 26 Aug 2025 02:35:32 +0100 Subject: [PATCH] [ZOO] Fix wrong offset set when reading archive comment. --- Aaru.Archives/Zoo/Info.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Aaru.Archives/Zoo/Info.cs b/Aaru.Archives/Zoo/Info.cs index 30c3bf70e..00a370c20 100644 --- a/Aaru.Archives/Zoo/Info.cs +++ b/Aaru.Archives/Zoo/Info.cs @@ -106,7 +106,7 @@ public sealed partial class Zoo if(header.acmt_len > 0) { byte[] buffer = new byte[header.acmt_len]; - stream.Position = 0; + stream.Position = header.acmt_pos; encoding ??= Encoding.UTF8; stream.ReadExactly(buffer, 0, buffer.Length); sb.AppendLine("[slateblue1]Archive comment:[/]");