-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Configuration file error in line 1: line too long (UTF8 encoding) #461
Comments
I'm not sure how expedient that would be, the files are parsed by the driver directly and I would guess that may be some required UTF8 to Unicode functions may nto be available. In the kernel mode you cant use most of the normal windows facilities. |
An attacker could craft a small script to convert the template file in utf8-bom and screw up your Sandboxie Classic configuration. |
Well the attacker would have to be outside the sandbox and have admin rights so he can break whatever he wants |
Good point, but there is the issue mentioned in #402. |
I'm not saying no, yet, I'll have to look into it. also I'm very hesitant changing things that may royally screw up something that may result in som odd hard to reproduce bugs. |
Sooo adding utf8 to the driver is a mess but doable, in the end I need to "manually" do the utf8 to unicode decoding |
Problem: if you change Templates.ini encoding to UTF8 or UTF8-BOM, Sandboxie will produce errors like this:
Some advantages to support UTF8 encoding:
The text was updated successfully, but these errors were encountered: