summaryrefslogtreecommitdiff
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorChris Loer <chris.loer@gmail.com>2018-03-28 14:11:55 -0700
committerChris Loer <chris.loer@mapbox.com>2018-03-29 09:04:23 -0700
commitf9b6d5f09c844ad367c54d34677d71c9da757bba (patch)
tree4e8323f1caaee22f768f0107da9001e4492de2b1 /CONTRIBUTING.md
parent2aaa038ef182cbba3095fa7636c15ab376f87b84 (diff)
downloadqtlocation-mapboxgl-f9b6d5f09c844ad367c54d34677d71c9da757bba.tar.gz
[core] Fix potential race condition crash in symbol querying..
First half of fix for issue #11538. Testing `if (pendingData)` didn't work if there _was_ a data update, but the update was "the data for this tile is now null". In that case, the tile's FeatureIndex would be updated, but the tile's data member would remain unchanged. In the case of a tile's data being deleted, the matching FeatureIndex would have an empty set of bucketLayerIDs, but the _old_ data would still be in place for querying, and the symbolBuckets might not be updated yet (pending onPlacement). In this case `bucketLayerIDs.at(indexedFeature.bucketName)` could throw an out-of-range exception.
Diffstat (limited to 'CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions