Re: wintrust/tests: Fix build with MSVC.
21 Jun
2012
21 Jun
'12
5:11 a.m.
Thomas Faber <thfabba(a)gmx.de> wrote:
Empty braces are no valid initializer. FIELD_OFFSET isn't constant "enough".
+ /* add 'jmp ExitProcess' instruction */ + count = 2; + bin.text_section[count++] = 0xFF; + bin.text_section[count++] = 0x25; + bin.text_section[count++] = EXIT_PROCESS&0xFF; + bin.text_section[count++] = (EXIT_PROCESS>>8)&0xFF; + bin.text_section[count++] = (EXIT_PROCESS>>16)&0xFF; + bin.text_section[count++] = (EXIT_PROCESS>>24)&0xFF;
This part of the patch obviously is not related to the patch description. -- Dmitry.
5012
Age (days ago)
5012
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dmitry Timoshkov