| 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
| ||
|
Message-ID: <20180901025003.GB27277@thunk.org>
Date: Fri, 31 Aug 2018 22:50:03 -0400
From: "Theodore Y. Ts'o" <tytso@....edu>
To: Jiri Slaby <jslaby@...e.cz>
Cc: Ext4 Developers List <linux-ext4@...r.kernel.org>,
stable@...r.kernel.org
Subject: Re: [PATCH] ext4: avoid arithemetic overflow that can trigger a BUG
On Fri, Aug 31, 2018 at 09:31:36PM +0200, Jiri Slaby wrote:
>
> Can't this be just
>
> map.m_len = min_t(unsigned long, last_block - first_block + 1, UINT_MAX)?
Yes, good point, thanks.
- Ted
Powered by blists - more mailing lists