#vulnerable code 
                                @Test
    public void testParse_String2() {
        BEParser parser = new BEParser("11:!@#$%^&*()_");
        assertEquals(BEType.STRING, parser.readType());
        assertEquals("!@#$%^&*()_", parser.readString());
    } 
                            #location 3 
                            #vulnerability type RESOURCE_LEAK
#fixed code
                                @Test
    public void testParse_String2() {
        BEParser parser = new BEParser("11:!@#$%^&*()_".getBytes());
        assertEquals(BEType.STRING, parser.readType());
        assertEquals("!@#$%^&*()_", parser.readString(charset));
    }