Re: [PATCH 5/8] pstore: Fix long-term implicit conversions in the compression routines

From: Kees Cook
Date: Sat Oct 08 2022 - 15:44:32 EST


On Sat, Oct 08, 2022 at 07:52:48PM +0200, Ard Biesheuvel wrote:
> Again, please correct me if I am missing something here (Kees?). Are
> there cases where we compress data that may be compressed already?

Nope, for dmesg, it should all only be text. I'd agree -- the worst case
seems a weird thing to need.

--
Kees Cook