]> git.street.me.uk Git - andy/viking.git/commit
SF Bugs#121: Fix crash when invalidating previously acquired tiles.
authorSzymon Bigos <szybig@gmail.com>
Mon, 31 Aug 2015 21:39:17 +0000 (22:39 +0100)
committerRob Norris <rw_norris@hotmail.com>
Mon, 31 Aug 2015 21:56:23 +0000 (22:56 +0100)
commit44d67e0147a4a92c140027b0d247b1db36706d17
tree1ea44ff4d51457703d0a55b1111f5c1c5c66f720
parente2df649734dda9532105193582c86f91873a9762
SF Bugs#121: Fix crash when invalidating previously acquired tiles.

This race condition can most often be triggered by zooming in/out rapidly.

The fault is due to using accessing variables outside of the lock section of the memory cache.
This has been in the code since the initial lock adding commit [in 2008]
 (SHA:9b79169dba7cd4df6badebdda23a370064ebfafd)

Signed-off-by: Rob Norris <rw_norris@hotmail.com>
src/mapcache.c