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 PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sat, 3 Oct 2020 01:23:59 -0400 From: "Theodore Y. Ts'o" <tytso@....edu> To: "Darrick J. Wong" <darrick.wong@...cle.com> Cc: linux-ext4 <linux-ext4@...r.kernel.org> Subject: Re: [PATCH] ext4: limit entries returned when counting fsmap records On Thu, Oct 01, 2020 at 03:21:48PM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong <darrick.wong@...cle.com> > > If userspace asked fsmap to try to count the number of entries, we cannot > return more than UINT_MAX entries because fmh_entries is u32. > Therefore, stop counting if we hit this limit or else we will waste time > to return truncated results. > > Fixes: 0c9ec4beecac ("ext4: support GETFSMAP ioctls") > Signed-off-by: Darrick J. Wong <darrick.wong@...cle.com> Applied, thanks. - Ted
Powered by blists - more mailing lists