VeraCrypt icon indicating copy to clipboard operation
VeraCrypt copied to clipboard

Veracrypt Inserts Invalid Text in the Boot Loader Configuration Editor Screen

Open gashtal opened this issue 1 year ago • 0 comments

Veracrypt's Boot Loader Configuration Editor inserts extra text to the config file when it is opened in the editor and the XML format validator fails when the file is modified and then saved, unless the random text added by Veracrypt is removed manually.

Expected behavior

Veracrypt's Boot Loader Configuration Editor screen should only show text that is actually in the config file.

Observed behavior

Veracrypt's Boot Loader Configuration Editor inserts extra text to the config file when it is opened in the editor.

Steps to reproduce

  1. Encrypt system partition.
  2. Open the Boot Loader Configuration Editor from System > Settings > Edit Bootloader Configuration.
  3. Observe that there is extra random text added at the bottom as shown below:

image

  1. Modify any settings and press "OK".
  2. You will get the XML format validation error.
  3. Remove the random text at the bottom and press "OK".
  4. File will be saved successfully.

Your Environment

Please tell us more about your environment

VeraCrypt version: 1.25.9

Operating system and version: Windows 10 21H1

System type: 64-bit

gashtal avatar Jul 18 '22 02:07 gashtal