Make sure that no integer overflow could occur during scaling
Fix multiple stack-based buffer overflows in file transfer feature
Merge pull request #41 from newsoft/master

Fixing 2 security issues