shithub: 5v

ref: 390f5e1938e255599ad1d87a83185b6e57e4b0b8
dir: /test.c/

View raw version
#include <u.h>
#include <libc.h>

void
main(int argc, char **argv)
{
	char *x;
	int a[1024];
	int y;

	x = malloc(123);
	x[1] = 123;
	x[124] = 7;
	y = x[1];
	argv[0][0] = y;
	free(x);
	argv[0][0] = x[0];
	exits(x);
}