MapServer / MapServer-import

3 stars 2 forks source link

check if clsss's style is valid when clearing the pen #2088

Open tbonfort opened 12 years ago

tbonfort commented 12 years ago

Reporter: assefa Date: 2007/05/06 - 17:40 Latest changes in MapServer with class and styles initialisation were causing MapServer to crash while drawing 24bis images into 8bit output.
I have done the same test with the 4.10.x and there is no issue with it.

--- mapdrawgdal.c (revision 6087)

+++ mapdrawgdal.c (working copy)

@@ -577,8 +577,12 @@

if( gdImg && !truecolor ) { int iClass;

tbonfort commented 12 years ago

Author: assefa Date: 2007/05/06 - 17:57 fixed in main trunck fbd2e97fb605052600ba8b083a975d0136eb17a5 (r6096)