Opened 9 months ago

Closed 9 months ago

Last modified 9 months ago

#6611 closed defect (fixed)

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

Reported by: Even Rouault Owned by: Even 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 9 months ago by Even Rouault

Resolution: fixed
Status: newclosed

In 34829:

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

comment:2 Changed 9 months ago by Even Rouault

In 34830:

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

comment:3 Changed 9 months ago by Even Rouault

In 34831:

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

comment:4 Changed 9 months ago by Even Rouault

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