Created
August 15, 2014 11:43
-
-
Save joshlf/c01fcb58d5494a1fe9fd to your computer and use it in GitHub Desktop.
Infinite loops.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int main() { | |
long *i; | |
long arr[64]; | |
for (i = arr; i < arr + (64 * sizeof(arr)); i++) { | |
*i = (long)arr; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment