static int hello_init(void) { char *p = NULL; memcpy(p, "test", 4); printk(KERN_ALERT "Hello, world\n"); return 0; }
char *p = NULL; memcpy(p, "test", 4); 你是故意这么写的吗?给你一个空指针memcpy?
21,595
社区成员
21,708
社区内容
加载中
试试用AI创作助手写篇文章吧