Opened 20 years ago

Closed 20 years ago

#808 closed defect (fixed)

Mapserver should die gracefully when number of classes is exceeded

Reported by: bartvde@… Owned by: sdlime
Priority: high Milestone:
Component: MapServer CGI Version: 4.3
Severity: normal Keywords:
Cc:

Description

When the number of classes is exceeded, Mapserver dies with:
[Tue Aug 10 11:23:40 2004] [error] [client 192.168.3.20] Premature end of script
headers: mapserv.exe

When the number of symbols is exceeded, a nice error message is produced:
msLoadSymbolSet(): Symbol definition error. Too many symbols defined.

Would be nice if the same behaviour would apply to max classes and maybe even
other max variables (I don't know if they die gracefully or not, I only noticed
it with max classes).

Also, this has influence on Mapserver SLD as when an SLD with more than 250
classes is supplied, Mapserver also crashes.

Change History (1)

comment:1 by sdlime, 20 years ago

Resolution: fixed
Status: newclosed
Fixed for both classes and joins. Layers already had the appropriate check in 
place.

Steve
Note: See TracTickets for help on using tickets.