Re: [PATCH] Btrfs: NUL-terminate path buffer in DEV_INFO ioctl result
From: Josef Bacik
Date: Thu Apr 26 2012 - 14:22:53 EST
On Thu, Apr 26, 2012 at 06:36:56PM +0200, Jim Meyering wrote:
>
> A device with name of length BTRFS_DEVICE_PATH_NAME_MAX or longer
> would not be NUL-terminated in the DEV_INFO ioctl result buffer.
>
> Signed-off-by: Jim Meyering <meyering@xxxxxxxxxx>
Reviewed-by: Josef Bacik <josef@xxxxxxxxxx>
Thanks,
Josef
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/