#vulnerable code 
                                @Override
    public Response act(final Request request) throws IOException {
        return new RsWithType(
            new RsWithBody(
                new BufferedInputStream(
                    new HeapDump(new ExtBucket().value(), "").load()
                )
            ),
            "application/octet-stream"
        );
    } 
                            #location 6 
                            #vulnerability type RESOURCE_LEAK
#fixed code
                                @Override
    public Response act(final Request request) throws IOException {
        return new RsWithType(
            new RsWithBody(
                new BufferedInputStream(
                    new HeapDump(this.bucket.value(), "").load()
                )
            ),
            "application/octet-stream"
        );
    }