期刊文献+

VB中DivideByZeroException类的漏洞分析

DivideByZeroException Class Bug Analysis in VB
在线阅读 下载PDF
导出
摘要 美国微软开发的VB.NET2005可视化程序设计语言中,有一个DivideByZeroException类,它是当程序中有整数除法运算而除数为零时发生的异常,这种异常通过"Catch e As DivideByZeroException"语句来捕捉,捕捉到后根据相应的容错处理语句继续执行。但在教学实践和实际编程中发现,在整数除法运算中发生除数为零的情况时,DivideByZeroException类异常并不能发生,这反映了微软开发的VB.NET2005程序设计语言中的一个漏洞。对这个问题进行了分析,并提出了弥补该漏洞的解决方案。 There is a DivideByZeroException class in VB.NET 2005–a Visual Programming Language developed by American Mi-crosoft.It's an exception To happen when an integer is divided by zero.This kind exception is tracked by"Catch e As DivideByZeroException"instruction and continue to run the program based on the relevant fault-tolerant processing instruction.However,it has been found that in teaching practice and programming,when performing such an operation of division,DivideByZeroException class exception can not happened,which shows that there exists a bug in VB.NET2005.The paper analyzes the problem and offers possible solutions.
作者 郑有增
出处 《微计算机信息》 2010年第12期224-225,223,共3页 Control & Automation
关键词 VB.NET2005 DivideByZeroException类 Exception类 漏洞 漏洞分析 VB.NET2005 DivideByZeroException Class Exception Class Bug Bug Analysis
  • 相关文献

参考文献1

二级参考文献3

  • 1肖俊,何为伟,楼建东,王映民.一种前馈结构的卷积混合盲分离算法[J].微计算机信息,2005,21(5):214-215. 被引量:2
  • 2[1]United Kingdom.Software Metrics Association.Quality Standards Defect Measurement Manusl[s].2000.
  • 3[2]SD Conte,H E Dunsmore,V Y Shen.Software Engineering Metrics and Models[M].Benjamin/Cummings publishing Company,1986:93-94.

共引文献7

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部