Skip to content

fix Language.hu.xml invalid character #1516

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

balintx
Copy link

@balintx balintx commented Mar 22, 2025

This patch fixes the invalid XML in the Hungarian translation XML file, which cause the following error when trying to launch Veracrypt:

ParameterIncorrect at VeraCrypt::XmlParser::GetNodes:82

@idrassi
Copy link
Member

idrassi commented Mar 24, 2025

@balintx Thank you for reporting this issue. Actually the Hungarian XML file content is valid and the presence of '>' character is correct. The issue is on the XML parsing code in the file Main/Xml.cpp file: the method GetNodes implementation doesn't parse multiple attributes correctly.

I have implemented a fix for this method and I will be pushing it soon.

This means that this PR will not be merged since there is no need modifying the valid Hungarian XML file.

I will update here when I push the fix.

idrassi added a commit that referenced this pull request Mar 24, 2025
…XML parser.

The method GetNodes implementation didn't parse multiple attributes correctly and it failed with Hungarian XML because of the presence of '>' character in an attribute value.

Issue reported in #1516
@idrassi
Copy link
Member

idrassi commented Mar 24, 2025

I have pushed a fix for the XML parser that was causing the issue: 56301ea
I will close this PR.
Thank you again for the report.

@idrassi idrassi closed this Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants