Ticket #3579 (new defect)

Opened 3 years ago

Mapfile parsing of LABEL->ANGLE [mycol] fails

Reported by: jimk Owned by: sdlime
Priority: normal Milestone:
Component: MapServer C Library Version: svn-trunk (development)
Severity: normal Keywords:
Cc: aboudreault

Description

Parsing of Mapfile fails with error when there is a label that gets its angle from a column in the data.

e.g.

...
LABEL
   ANGLE [ANG]
   ...
END

The error is: getSymbol(): Symbol definition error. Parsing error near (ANG):(line 73)

This looks like it was introduced in r10021. This looks like a simple off by one error on the vararg list call to getSymbol(). A patch is attached.

Attachments

mapfile-angle.c.patch Download (452 bytes) - added by jimk 3 years ago.

Change History

Changed 3 years ago by jimk

Note: See TracTickets for help on using tickets.