我正在遵循“Hacking-Theartofexploitation”一书中的代码。书中定义的源代码随作者提供的光盘一起提供。我只是编译了预先编写的代码。根据这本书,如果我提供正确的密码,它应该授予我访问权限,如果我提供一个密码错误的大字符串,它也应该授予我访问权限,但它拒绝我。来源确实是如下:#include#include#includeintcheck_authentication(char*password){intauth_flag=0;charpassword_buffer[16];strcpy(password_buffer,password);if(strcmp(pas