Files
VeraCrypt/src/Main
Mounir IDRASSI 80d7bf771a Unix: fall back to English when a language file is unusable
An empty language file made VeraCrypt access the first element of an
empty vector, and any language file without a language element crashed
it at startup, when LanguageStrings::Init took the first element of an
empty node list. A file with an unterminated tag made initialization
fail instead, so VeraCrypt could not start until the preferences file
was edited. Read the file only if it is not empty, and ignore a
language file that cannot be parsed or has no language element, keeping
the built-in English strings.

Also fall back when the optional language file cannot be opened or
read completely. Catch I/O failures at the resource loader, leaving
preference-loading errors outside the handler.
2026-10-15 07:57:12 +02:00
..
2026-06-09 09:56:25 +09:00
2026-06-09 09:56:25 +09:00
2026-06-09 09:56:25 +09:00
2026-06-09 09:56:25 +09:00
2026-06-09 09:56:25 +09:00
2026-06-09 09:56:25 +09:00
2026-06-09 09:56:25 +09:00
2026-06-09 09:56:25 +09:00
2026-06-09 09:56:25 +09:00
2026-06-09 09:56:25 +09:00
2026-06-09 09:56:25 +09:00
2026-06-09 09:56:25 +09:00