文件名称:the-benefits-of-the-set-p-=-NULL

  • 所属分类:
  • 编译器/词法分析
  • 资源属性:
  • 上传时间:
  • 2014-09-02
  • 文件大小:
  • 13kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • zhong*****
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

(1)在没有 p = NULL 时,指针p是指向一个内存地址的,只是这个内存地址对当前程序是非法的。对黑客来说,这可是一个机会。 每次程序崩溃时几乎都会在同一个地址(p所指的位置),这个地址会很容易到黑客手上的,然后黑客可以在指定的内存地址上事先布置好自己的代码,然后运行程序,崩溃时就会到黑客指定的代码上去,结果不堪设想啦。

(2)在有 p = NULL 时,程序同样崩溃,但崩溃的地址是0. 0地址对任何程序都是非法的,所以再牛的黑客也不能把自己的代码布置到内存地址是0的空间上。所以对这种情况,黑客也只能面对崩溃 翻白眼,感叹生不逢时啊。

-(1) there is no p = NULL  , the pointer p is pointing to a memory address, only the memory address of the current program is illegal. This is an opportunity for hackers. Every time program crashes are almost in the same address referred to in (p), it will be easy to this address to hackers, hackers can then on the specified memory address prior to decorate your code, and then run the program, the collapse will be to the hacker specify code, the result is unimaginable. (2) in p = NULL  Collapse, the program also collapse, but the address is 0. 0 address for any application is illegal, so cattle hackers cannot again to decorate your own code to the memory address space is 0. So in this case, the hacker can only face their collapse, lamented fate ah.
(系统自动生成,下载前可以参看下载内容)

下载文件列表

文件名大小更新时间


Deletefree pointer in cc + + the benefits of the set p = NULL.docx

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org