Created
August 3, 2011 02:29
-
-
Save sycobuny/1121772 to your computer and use it in GitHub Desktop.
Simple program designed to crash. For some reason.
This file contains hidden or 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
#include <stdio.h> | |
#include <string.h> | |
int main(int argc, char **argv) { | |
char crash[16]; | |
char* plz = "this is probably longer than 16 characters"; | |
strcpy(crash, plz); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment