This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit https://owasp.org

Talk:Unreleased Resource

From OWASP
Jump to: navigation, search

an even more vicious example for java is the following: { Runtime rt = Runtime.getRuntime(); Process p = rt.exec("ls"); }

This implicitely creates three opened streams (input, output and error) which should be closed.