[PATCH 0/3] NTFS: Remove VLA usage

From: Kees Cook
Date: Tue Jun 26 2018 - 13:29:53 EST


In the quest to remove all stack VLA usage from the kernel[1], this series
removes all the VLAs in use in fs/ntfs/. A couple strategies are used,
and are detailed in the individual patches.

As far as I can tell, -mm was the last place to take NTFS-specific
patches, so I'm aiming this series at Andrew and hoping Anton can
review/ack/etc. :)

Thanks!

-Kees

[1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@xxxxxxxxxxxxxx

Kees Cook (3):
NTFS: aops: Remove VLA usage
NTFS: decompress: Remove VLA usage
NTFS: mft: Remove VLA usage

fs/ntfs/aops.c | 5 ++++-
fs/ntfs/compress.c | 28 ++++++++++++++++------------
fs/ntfs/mft.c | 12 ++++++++++--
3 files changed, 30 insertions(+), 15 deletions(-)

--
2.17.1