fortofy专题

Fortofy扫描安全漏洞解决——Unreleased Resource: Streams未释放资源漏洞

问题描述: 大部分 Unreleased Resource 问题只会导致一般的软件可靠性问题,但如果攻击者能够故意触发资源泄漏,该攻击者就有可能通过耗尽资源池的方式发起 denial of service 攻击。 问题代码: FileInputStream inputStream = new FileInputStream(sourcePath);FileOutputStream outpu

Fortofy扫描安全漏洞解决——Unreleased Resource: Streams未释放资源漏洞

问题描述: 大部分 Unreleased Resource 问题只会导致一般的软件可靠性问题,但如果攻击者能够故意触发资源泄漏,该攻击者就有可能通过耗尽资源池的方式发起 denial of service 攻击。 问题代码: FileInputStream inputStream = new FileInputStream(sourcePath);FileOutputStream outpu