rapid7/metasploit-framework — pull request #556 by stephenfewer (2012-07-02 16:49:44+00:00)
Title: ReflectiveLoader x64 compiler optimization edge case

This is a tiny change to the ReflectiveLoader to help avoid an edge case when being compiled under x64 with certain compiler optimization flags being used in some meterpreter extensions (which force the eip() function to be incorrectly inlined, introducing unexpected behavior).

I haven't updated the bins as I can't build the sniffer extension, which was the one HD mentioned was borking, however espia seems fine though.

Somebody who can reproduce the initial problem will need to rebuild the offending extension(s) and confirm the patch works! ...otherwise I'll keep digging :)