rapid7/metasploit-framework — pull request #3434 by jvazquez-r7 (2014-06-08 16:11:16+00:00)
Title: Fix VirtualAlloc call on PSH old template

Unless I'm misunderstanding something, second parameter when calling VirtualAlloc should be Size, and third AllocationType. I guess it was working because the size of the code uses to be less than 0x1000, so it resulted on ```VirtualAlloc(0,0x1000,0x1000,0x40)``` anyway.