缓冲区 溢出 -- 高手们,你们在哪里?
code如下。
程序代码:#include<stdio.h>
void why_here(void) /*this function has never been called*/
{
printf("why u here ?!\n");
_exit(0);
}
int main(int argc,char * argv[])
{
int buff[1];
buff[2]=(int)why_here;
return 0;
}很明显, why_here function没有被调用过,但是输出结果是被调用的。
谁来解释下为毛被调用。
[ 本帖最后由 Devil_W 于 2011-6-5 20:24 编辑 ]










