Opened 13 years ago

Closed 13 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


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 Even Rouault, 13 years ago

Cc: warmardam added
Owner: changed from warmerdam to Even Rouault
Status: newassigned

comment:2 by Even Rouault, 13 years ago

Milestone: 1.6.3
Resolution: fixed
Status: assignedclosed

Fixed in trunk (r17959) and in branches/1.6 (r17960)

Note: See TracTickets for help on using tickets.