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] [thread-next>] [day] [month] [year] [list]
Message-ID: <3b865b4a-5d82-4d11-a60c-f4bea6cd25c0@igalia.com>
Date: Tue, 12 Nov 2024 07:06:35 -0300
From: André Almeida <andrealmeid@...lia.com>
To: Colin Ian King <colin.i.king@...il.com>
Cc: Hugh Dickins <hughd@...gle.com>, linux-mm@...ck.org,
 Christian Brauner <brauner@...nel.org>,
 Gabriel Krisman Bertazi <gabriel@...sman.be>,
 Andrew Morton <akpm@...ux-foundation.org>, kernel-janitors@...r.kernel.org,
 linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] mm: shmem: Fix error checking on utf8_parse_version
 failures

Hi Colin,

Em 12/11/2024 06:54, Colin Ian King escreveu:
> Currently the error check on the call to utf8_parse_version is always
> false because version is an unsigned int and this can never be less
> than zero. Because version is required to be an unsigned int, fix the
> issue by casting it to int just for the error check.

Why is it required to be an unsigned int?

> 
> Fixes: 58e55efd6c72 ("tmpfs: Add casefold lookup support")
> Signed-off-by: Colin Ian King <colin.i.king@...il.com>

Another fix was already sent: 
https://lore.kernel.org/lkml/20241111-unsignedcompare1601569-v1-1-c4a9c3c75a52@gmail.com/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ