lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <f3e2e867-7572-4b27-ab9b-401aad13da05@kernel.org>
Date: Thu, 22 Jan 2026 12:21:28 +0800
From: Chao Yu <chao@...nel.org>
To: Gao Xiang <hsiangkao@...ux.alibaba.com>, linux-erofs@...ts.ozlabs.org
Cc: chao@...nel.org, LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] erofs: improve LZ4 error strings

On 12/19/2025 2:43 PM, Gao Xiang wrote:
> Just like what was done for other algorithms, let's propagate detailed
> error reasons for LZ4 instead of just -EFSCORRUPTED to users:
> 
>   "corrupted compressed data":
>      the compressed data is malformed or
>        destination buffer is not large enough
> 
>   "unexpected end of stream":
>      the compressed stream ends normally, but without producing enough
>      decompressed data.
> 
>   "compressed data start not found":
>      can be returned by z_erofs_fixup_insize().
> 
> Signed-off-by: Gao Xiang <hsiangkao@...ux.alibaba.com>

Reviewed-by: Chao Yu <chao@...nel.org>

Thanks,

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ