[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <95dae940-af15-d8ef-5ce9-4ac983dfdef8@gmail.com>
Date: Wed, 12 Apr 2023 14:48:29 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: Jonathan Neuschäfer <j.neuschaefer@....net>,
linux-arm-kernel@...ts.infradead.org
Cc: Russell King <linux@...linux.org.uk>,
Nick Terrell <terrelln@...com>, Arnd Bergmann <arnd@...db.de>,
Tony Lindgren <tony@...mide.com>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Linus Walleij <linus.walleij@...aro.org>,
Sebastian Reichel <sebastian.reichel@...labora.com>,
Nick Hawkins <nick.hawkins@....com>,
Christophe Leroy <christophe.leroy@...roup.eu>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Xin Li <xin3.li@...el.com>,
Seung-Woo Kim <sw0312.kim@...sung.com>,
Paul Bolle <pebolle@...cali.nl>,
Bart Van Assche <bvanassche@....org>,
linux-kernel@...r.kernel.org,
"Russell King (Oracle)" <rmk+kernel@...linux.org.uk>
Subject: Re: [PATCH 1/3] ARM: compressed: Pass the actual output length to the
decompressor
On 4/12/23 14:21, Jonathan Neuschäfer wrote:
> ZSTD writes outside of the space that is necessary for the uncompressed
> data, when it is told it has unlimited output length. To fix this, pass
> the actual output length (the length of the uncompressed kernel) to the
> decompressor.
>
> The uncompressed length is already stored as a little endian 32-bit
> constant before the input_data_end symbol.
>
> Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@....net>
Reviewed-by: Florian Fainelli <f.fainelli@...il.com>
--
Florian
Powered by blists - more mailing lists