Sign in
android
/
platform
/
external
/
valgrind
/
981abb5
/
.
/
none
/
tests
/
linux
/
brk-overflow1.c
blob: 187751aeddd237435d70ff243a6dd500e030d9de [
file
] [
log
] [
blame
]
#include
<unistd.h>
volatile
void
*
ptr
;
/* The default size of the brk segment is 8 MB.
Request more than that in a single request. */
int
main
()
{
ptr
=
sbrk
(
9
*
1024
*
1024
);
return
0
;
}