logo separator

[mkgmap-dev] [PATCH] Fix crash when parsing invalid UTF-8 files (WanMil)

From Steve Ratcliffe steve at parabola.me.uk on Tue Oct 25 22:43:48 BST 2011

Hi

> The problem should be fixed by using a separate Sort object for each
> thread. One solution would be if CommandArgs.getSort() returns a copy. I
> am not sure how to create a valid copy of a Sort object.
> Steve, can you help?

The problem is that there is only one MapMaker object.

Attached patch fixes it.

..Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sort-multi-thread.patch
Type: text/x-patch
Size: 714 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20111025/bc6c633e/attachment.bin 


More information about the mkgmap-dev mailing list