#vulnerable code 
                                @Test
    public void testChecksumNONE() throws Exception {
        EventDeserializer eventDeserializer = new EventDeserializer();
        BinaryLogFileReader reader = new BinaryLogFileReader(new GZIPInputStream(
                new FileInputStream("src/test/resources/mysql-bin.sakila.gz")), eventDeserializer);
        readAll(reader, 1462);
    } 
                            #location 4 
                            #vulnerability type RESOURCE_LEAK
#fixed code
                                @Test
    public void testChecksumNONE() throws Exception {
        EventDeserializer eventDeserializer = new EventDeserializer();
        BinaryLogFileReader reader = new BinaryLogFileReader(
                new FileInputStream("src/test/resources/mysql-bin.checksum-none"), eventDeserializer);
        readAll(reader, 191);
    }