blob: dff5250eb4b9e6af494f64fb9748fc288c828d11 [file] [log] [blame]
#include <stdio.h>
#include <stdlib.h>
void really ( void );
int main ( void )
{
really();
return 0;
}
void really ( void )
{
int i;
char* p = malloc(10);
for (i = 0; i < 10; i++)
p[i] = 'z';
free(p);
p[1] = 'z';
p = malloc(10);
p[2] = 'z';
p[-1] = 'z';
}