[mapserver-commits] r11536 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Tue Apr 12 04:12:53 EDT 2011


Author: tbonfort
Date: 2011-04-12 01:12:53 -0700 (Tue, 12 Apr 2011)
New Revision: 11536

Modified:
   trunk/mapserver/HISTORY.TXT
   trunk/mapserver/maprendering.c
Log:
fix segfault with marker symbols on short lines (#3823)

Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT	2011-04-11 22:16:13 UTC (rev 11535)
+++ trunk/mapserver/HISTORY.TXT	2011-04-12 08:12:53 UTC (rev 11536)
@@ -15,6 +15,8 @@
 Current Version (SVN trunk): 
 ---------------------------- 
 
+- fix segfault with marker symbols on short lines (#3823)
+
 - wms_getmap_formatlist causes first defined outputformat to be returned by getmap (#3826)
 
 - fix building of mapcluster.c when OGR support is disabled

Modified: trunk/mapserver/maprendering.c
===================================================================
--- trunk/mapserver/maprendering.c	2011-04-11 22:16:13 UTC (rev 11535)
+++ trunk/mapserver/maprendering.c	2011-04-12 08:12:53 UTC (rev 11536)
@@ -371,12 +371,16 @@
                switch (symbol->type) {
                case MS_SYMBOL_PIXMAP:
                   ret = renderer->renderPixmapSymbol(image, point.x, point.y, symbol, style);
+                  break;
                case MS_SYMBOL_ELLIPSE:
                   ret = renderer->renderEllipseSymbol(image, point.x, point.y, symbol, style);
+                  break;
                case MS_SYMBOL_VECTOR:
                   ret = renderer->renderVectorSymbol(image, point.x, point.y, symbol, style);
+                  break;
                case MS_SYMBOL_TRUETYPE:
                   ret = renderer->renderTruetypeSymbol(image, point.x, point.y, symbol, style);
+                  break;
                }
             }
             before_length += length;



More information about the mapserver-commits mailing list