Server crash when layer contains complicate symbols
|Reported by:||zhanga||Owned by:|
The issue is with the MapGuide service and we have verified the issue exists in AIMS 2017 product. We believe the issue is related to pattern style area fill using a symbol.
It is a heap corruption defect. The issue is at line 1792~1814, Common\Renderers\AGGRenderer.cpp. There are minx and maxx which are double. Then we convert them to int. But in some special cases, the converted imaxx will be less than iminx. It results in some memory are corrupted in next operations. To fix the issue, we need to add a check for the values.