Warn the user if a file system (NTFS) has not enough claster size for a big container file before the file write

Đang mở
#1,949 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
c
Lĩnh vực
backend, operating-systems

Hướng nghiên cứu

Start by tracing the container file write path and how VeraCrypt handles file sizes on NTFS, especially the limit described as 2^32 times the cluster size. Check whether current code still allows a write to fail near that limit, then identify how the application could warn before writing. Done means a reliable warning appears before an affected write; the issue names no source files or tests, so first locate the relevant code and coverage.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Desired behavior

The application fails to write the end of the container file in case if the file size bigger than 2^32*<claster-byte-size>. It is an old issue which I've catched in an old VeraCrypt version.

It's may be already not the case. But for a big HDD drive it is an issue, because if you write a 16TB file, then you might could not extend it without a buy another one at least with the same size or bigger.

Your Environment

Please tell us more about your environment

VeraCrypt version:
1.26.7

Operating system and version:
Windows 8

System type:
64-bit

Ngôn ngữ chính
C
Star
11.7k
Fork
1.4k
Merge trung bình
1 ngày 1 giờ
Pull request đã merge (30 ngày)
28

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của veracrypt/VeraCrypt

Tất cả issue của veracrypt/VeraCrypt

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.