Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Reminder to fix EPSG parsing code to make it thread safe #4731
While adding Java mapscript to the test target I have received a segfault
In an attempt to fix it I have, for now, blocked concurrent access to msWMSGetCapabilities, but this is probably too coarse.
The original pull request with discussion is here:
This ticket is a reminder to fix the EPSG parsing code, with a hint that the cause of the segfaults could be the use of the static variable epsgCode mentioned here:
Once the EPSG parsing code has been fixed the locks around msWMSGetCapabilities must be removed.
added a commit
this pull request
Aug 14, 2013
note to future @tbonfort: never take on a fix on the OWS code, how ever trivial it may seem at first, that code is brutal...