projects
/
oweals
/
gnunet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
resolver API change
[oweals/gnunet.git]
/
src
/
monkey
/
bug_bad_memory_access.c
1
#include <stdio.h>
2
#include <string.h>
3
4
5
void badMemoryAccess()
6
{
7
int *p = (int*) 0x4252352;
8
printf("Bad memory access now!\n");
9
*p = 5;
10
}
11
12
int main(int argc, char *argv[])
13
{
14
badMemoryAccess();
15
return 0;
16
}