nexxai / CryptoBlocker

A script to deploy File Server Resource Manager and associated scripts to block infected users
GNU General Public License v2.0
200 stars 73 forks source link

New-CBArraySplit Limit #18

Closed CDagey closed 7 years ago

CDagey commented 7 years ago

Found that I had to change the limit in

if (($LengthOfStringsInWorkingArray + 1 + $_.Length) -gt 4096

to 4095. At 4096, a file group with exactly 4096 characters wouldn't be created. The template creation would then fail, as would the file screen itself.

Peck49 commented 7 years ago

This was found over the weekend, and the fix was committed to the code on Monday...

CDagey commented 7 years ago

Thanks for the info. Really should check the latest code before reporting a fault.