本文介绍了这个C程序的漏洞是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
void custom_func(char *param1, int param2, double param3)
{
char local[30];
strcpy(local, param1);
}
int main(int argc, char** argv)
{
custom_func(argv[1], 0, 30.30);
}
我的尝试:
我正试图找到一个漏洞!!以及程序中有多少漏洞...... !!所以请任何人有任何想法..请帮助我!!
What I have tried:
am trying to find a vulnerability !! and how many vulnerability is in a program... !! so please anybody have any idea.. please help me !!
推荐答案
myApp "Call me Ishmael. Some years ago- never mind how long precisely- having little or no money in my purse, and nothing particular to interest me on shore, I thought I would sail about a little and see the watery part of the world."
可能会产生什么影响?
What effects might that have?
这篇关于这个C程序的漏洞是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!