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

Aperta
#1,949 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
c

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
C
Stelle
11.7k
Fork
1.4k
Merge medio
1g 1h
PR unite (30g)
28

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di veracrypt/VeraCrypt

Tutte le issue di veracrypt/VeraCrypt

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.