2 Program illustrates stack randomization of operating systems.
4 Operating systems attempt to prevent security vulnerability by
5 randomizing the stack location when a program starts.
7 This helps prevent buffer overflow attacks.
9 To test and see if this security measure is built into your
10 system, run this program several times; if the stack address
11 changes each time, it is likely that this is implemented on
20 printf("local at %p\n", &local
);