Re: [patch] btrfs: array overflow in btrfs_ioctl_rm_dev_v2()
From: David Sterba <hidden>
Date: 2016-02-18 08:58:32
Also in:
kernel-janitors
From: David Sterba <hidden>
Date: 2016-02-18 08:58:32
Also in:
kernel-janitors
On Thu, Feb 18, 2016 at 03:14:04PM +0800, Anand Jain wrote:
Thanks Dan. Chris pointed out as well. We are working on it..
In for next since yesterday.
Just one concern when device is added the max device length is BTRFS_PATH_NAME_MAX. However below fix is proper from the vol_args perspective.
Yeah, there's mess in the various PATH constants, but they're all > 4000 and that should be enough for most uses.