Opened 6 months ago

Closed 6 months ago

Last modified 6 months ago

#6611 closed defect (fixed)

Calling GDALSetCacheMax() prevents the raster block mutex from being initialized

Reported by: rouault Owned by: rouault
Priority: normal Milestone: 2.0.4
Component: GDAL_Raster Version: 2.0.0
Severity: normal Keywords: raster block mutex
Cc:

Description

If GDALSetCacheMax() or GDALSetCacheMax64() is called before GDALGetCacheMax/GDALGetCacheMax64(), then the raster block mutex will not be initialized, causing corruption in multi-threaded applications.

Change History (4)

comment:1 Changed 6 months ago by rouault

  • Resolution set to fixed
  • Status changed from new to closed

In 34829:

Make sure that GDALSetCacheMax() initialize the raster block mutex (fixes #6611)

comment:2 Changed 6 months ago by rouault

In 34830:

Make sure that GDALSetCacheMax() initialize the raster block mutex (fixes #6611)

comment:3 Changed 6 months ago by rouault

In 34831:

Make sure that GDALSetCacheMax() initialize the raster block mutex (fixes #6611)

comment:4 Changed 6 months ago by rouault

  • Milestone set to 2.0.4
Note: See TracTickets for help on using tickets.