diff options
author | le <le@FreeBSD.org> | 2006-11-20 19:28:36 +0000 |
---|---|---|
committer | le <le@FreeBSD.org> | 2006-11-20 19:28:36 +0000 |
commit | d8d1f1dab4c8fe470b9b21cca29e76af01cf883b (patch) | |
tree | 1bac723b78fcd2d2f6977b9fcbe657bce9466a04 /sys/fs/ntfs/ntfs_subr.h | |
parent | 1eab20d6eacc49ec68067a17fb26b0ea720a9aa1 (diff) | |
download | FreeBSD-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.h | 4 |
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; |