// buggy hello world 2 -- pointed-to region extends into unmapped memory // kernel should destroy user environment in response #include const char *hello = "hello, world\n"; void umain(int argc, char **argv) { sys_cputs(hello, 1024*1024); }