I am getting Access violation writing location 0xB7066CBC while running this code.Unable to figure out whats going on, any suggestions?
int main(void)
{
unsigned int SIG = 0x00000000;
unsigned int *base = (unsigned int *)0xb7066CBC;
SIG = 0x5a5a5a5a;
memcpy(base ,&SIG, 4);
}
Here are the values I am getting when I encounter this failure.
&SIG 0x003bf7c0 {0x5a5a5a5a}
SIG 0x5a5a5a5a
base 0xb7066cbc {???}