You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
245 B
Markdown

# This will just crash
```bash
$ gcc -xc - <<APP
```
```c
#include <stdio.h>
int main() {
int *p = NULL;
printf("Before pointer dereference\n");
*p = 1;
printf("After pointer dereference\n");
return 0;
}
```
```bash
APP
```