实验2.2修改临近变量:
#include "stdafx.h"
#include "stdio.h"
#include "string.h"
#define PASSWORD "1234567"
int verify_password(char *password)
{
int authenticated;
char buffer[8]; //这里声明的变量在后续的strcpy操作可能会发生溢出
authenticated
实验2.2修改临近变量:
#include "stdafx.h"
#include "stdio.h"
#include "string.h"
#define PASSWORD "1234567"
int verify_password(char *password)
{
int authenticated;
char buffer[8]; //这里声明的变量在后续的strcpy操作可能会发生溢出
authenticated