Coursera-Software-Security-Project1

Software Security Project1 quiz

标题看到网上很多答案有误而且很不详细,小白通过论坛加自己理解成功100% pass,决定写一篇解答

Q1 - Q4 不解释,后面question可以展现其漏洞

  1. There is a stack-based overflow in the program. What is the name of the stack-allocated variable that contains the overflowed buffer?

    ans: wis

  2. Consider the buffer you just identified: Running what line of code will overflow the buffer?

    ans: 62

  3. There is another vulnerability, not dependent at all on the first, involving a non-stack allocated buffer that can be indexed outside its bounds. What variable contains this buffer?

    ans: ptrs

  4. Consider the buffer you just identified: Running what line of code overflows the buffer?

    ans: 101

Q5 - Q8 : print &变量名 得出结论
ex: prin

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值