Trust No Program
This topic is locked: you cannot edit posts or make replies.
Error with more than 512 characters in ProcessGroup
xsilon
Guest

Reply with quote
When specifying a large number of allowed Internet Access or Start/Run Access program names and the total number of characters within the Sandboxie.ini exceed 512 characters after ProcessGroup= ... , then Sandboxie Control settings says that all programmes are permitted. The protective function is still guaranteed, but the next adding program action extinguishes all previous restriction settings.

(Sandboxie 3.44.2 / Windows 7 / 32bit)
Guest10


Joined: 27 Apr 2008
Posts: 4401
Location: Ohio, USA
Reply with quote
Was this just a test, or do you have that many characters?
I thought that mine was long, at 323 characters.

_________________
Paul
XP Pro SP3 (Admin rights), Zone Alarm Pro Firewall, Malwarebytes Pro, Firefox 21, Thunderbird 17
View user's profileSend private message
xsilon
Guest

Reply with quote
No, it was not a test.

I have admitted in the internet sandbox currently 38 process names and I have to monitor very well so that no unwanted programs (eg by downloads) can be executed within the sandbox. Now I want to add two additional names and I had wondered that all entries are gone.

My own tests have shown that Sandboxie transmits without warning only a maximum of 512 characters after the equal sign in the line "Process Group =" of the INI file. Either there should be a warning that limits or more characters are allowed (the last would be my wish)!
tzuk


Joined: 22 Jun 2004
Posts: 15159
Reply with quote
There is indeed an arbitrary limit of 512 characters somewhere, I will change it to an arbitrary limit of ~2000 characters.

_________________
tzuk
View user's profileSend private message
tzuk


Joined: 22 Jun 2004
Posts: 15159
Reply with quote
I adjusted that arbitrary limit in version 3.45.17, but I didn't try to actually reproduce the problem, so please take a look and tell me if the problem is resolved.
View user's profileSend private message
xsilon
Guest

Reply with quote
The problem is solved only partially.

In the INI file now more than 512 characters will be saved, but all entries in the configuration dialog disappear after applying. It appears that all programs are allowed. When you add other programs, all previous entries in the INI file is lost.

I suspect that the limitation is removed when saving, but when reading the values, there is also a limitation.
tzuk


Joined: 22 Jun 2004
Posts: 15159
Reply with quote
You're right, there was one more place in the code that had the arbitrary limit of 512 characters. Please try version 3.45.18.
View user's profileSend private message
xsilon
Guest

Reply with quote
Thanks, the problem is completely resolved! I have tested the beta version 3.45.19 under Windows 7 (32 & 64 Bit).
I am always impressed by the rapid solution of problems! Many thanks.
Error with more than 512 characters in ProcessGroup
You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

Use the RSS feed to watch this topic for replies
  
  
 This topic is locked: you cannot edit posts or make replies.  

Sandboxie is Copyright © 2004-2012 by Sandboxie Holdings LLC.  All rights reserved.
Sandboxie.com | Contact Author
This site has been viewed 213,195,434 times since June 2004