Ticket #3209 (closed defect: fixed)
GRIB detection not thread safe
| Reported by: | nowakpl | Owned by: | rouault |
|---|---|---|---|
| Priority: | high | Milestone: | 1.6.3 |
| Component: | default | Version: | unspecified |
| Severity: | normal | Keywords: | |
| Cc: | warmardam |
Description
http://trac.osgeo.org/gdal/browser/trunk/gdal/frmts/grib/gribdataset.cpp#L363
You have a call to ReadSECT0(mds, &buff, &buffLen, -1, sect0, &gribLen, &version) that is using a not threads safe function errSprintf to return errors (for example when the file is not a grib file). This can cause problems for other file formats when opening datasets from multiple threads.
Change History
Note: See
TracTickets for help on using
tickets.
