#vulnerable code 
                                @Test
    public void test() throws Exception {
        SpecCaptcha specCaptcha = new SpecCaptcha();
        System.out.println(specCaptcha.text());
        specCaptcha.out(new FileOutputStream(new File("D:/a/aa.png")));
    } 
                            #location 5 
                            #vulnerability type RESOURCE_LEAK
#fixed code
                                @Test
    public void test() throws Exception {
        SpecCaptcha specCaptcha = new SpecCaptcha();
        System.out.println(specCaptcha.text());
        //specCaptcha.out(new FileOutputStream(new File("D:/a/aa.png")));
    }