Exploit database

GH-9a017fa45abc7e1f8f6ba6e1285cae54

iplayforsg/cve-2023-51444

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2023-51444

1 source

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files14

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

community/wps-sextante/src/main/java/org/geoserver/wps/sextante/GTDBFIterator.java

Java · 1,315 bytes
/* (c) 2015 Open Source Geospatial Foundation - all rights reserved
 * This code is licensed under the GPL 2.0 license, available at the root
 * application directory.
 */
package org.geoserver.wps.sextante;

import es.unex.sextante.core.Sextante;
import es.unex.sextante.dataObjects.IRecord;
import es.unex.sextante.dataObjects.IRecordsetIterator;
import es.unex.sextante.dataObjects.RecordImpl;
import es.unex.sextante.exceptions.IteratorException;
import java.io.IOException;
import org.geotools.data.shapefile.dbf.DbaseFileReader;

/** @author Cesar Martinez Izquierdo */
public class GTDBFIterator implements IRecordsetIterator {
    private DbaseFileReader reader = null;

    public GTDBFIterator(DbaseFileReader reader) {
        this.reader = reader;
    }

    public void close() {
        try {
            this.reader.close();
        } catch (IOException e) {
            Sextante.addErrorToLog(e);
        }
    }

    public boolean hasNext() {
        return reader.hasNext();
    }

    public IRecord next() throws IteratorException {
        if (reader.hasNext()) {
            try {
                return new RecordImpl(reader.readEntry());
            } catch (IOException e) {
                Sextante.addErrorToLog(e);
            }
        }
        throw new IteratorException();
    }
}