摘要:
实验代码: 1 #include 2 #include 3 #define PASSWORD "1234567" 4 5 int verify_password(char *password) 6 { 7 int authenticated; 8 char buffer[8]; // add local buf to be overflowed 9 authenticated=strcmp(password,PASSWORD);10 strcpy(buffer, password); // overflow here11 return aut... 阅读全文