Re: [PATCH 4/4] xfs: validate block count for XFS_IOC_SET_RESBLKS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 03, 2024 at 08:38:19AM +1100, Dave Chinner wrote:
> Stop the fuzzers ifrom being able to do this by validating that the

s/ifrom/from/

> +		if (fsop.resblks >= mp->m_sb.sb_dblocks)

Even all of dblocks seems too much.  A quarter of all blocks still feels
very generous.





[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux