Opened 14 years ago
Closed 14 years ago
#3209 closed defect (fixed)
GRIB detection not thread safe
Reported by: | nowakpl | Owned by: | Even 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 (2)
comment:1 by , 14 years ago
Cc: | added |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:2 by , 14 years ago
Milestone: | → 1.6.3 |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in trunk (r17959) and in branches/1.6 (r17960)