summaryrefslogtreecommitdiffstats
path: root/sys/fs/ntfs/ntfs_subr.h
diff options
context:
space:
mode:
authorle <le@FreeBSD.org>2006-11-20 19:28:36 +0000
committerle <le@FreeBSD.org>2006-11-20 19:28:36 +0000
commitd8d1f1dab4c8fe470b9b21cca29e76af01cf883b (patch)
tree1bac723b78fcd2d2f6977b9fcbe657bce9466a04 /sys/fs/ntfs/ntfs_subr.h
parent1eab20d6eacc49ec68067a17fb26b0ea720a9aa1 (diff)
downloadFreeBSD-src-d8d1f1dab4c8fe470b9b21cca29e76af01cf883b.zip
FreeBSD-src-d8d1f1dab4c8fe470b9b21cca29e76af01cf883b.tar.gz
Fix an integer overflow and allow access to files larger than 4GB on
NTFS.
Diffstat (limited to 'sys/fs/ntfs/ntfs_subr.h')
-rw-r--r--sys/fs/ntfs/ntfs_subr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/ntfs/ntfs_subr.h b/sys/fs/ntfs/ntfs_subr.h
index c0ecc75..65b0025 100644
--- a/sys/fs/ntfs/ntfs_subr.h
+++ b/sys/fs/ntfs/ntfs_subr.h
@@ -45,8 +45,8 @@ struct ntvattr {
u_int32_t va_compression;
u_int32_t va_compressalg;
- u_int32_t va_datalen;
- u_int32_t va_allocated;
+ u_int64_t va_datalen;
+ u_int64_t va_allocated;
cn_t va_vcnstart;
cn_t va_vcnend;
u_int16_t va_index;
OpenPOWER on IntegriCloud