Opened 18 years ago

Closed 18 years ago

#1655 closed defect (fixed)

Layers without name can crash shp2img

Reported by: benjcarson@… Owned by: sdlime
Priority: high Milestone:
Component: Command Line Utilties Version: 4.8
Severity: normal Keywords:
Cc:

Description

A mapfile containing a layer with no name causes shp2img to segfault if the "-l"
option is specified.  A simple fix is attached.

Attachments (1)

shp2img.c.patch (567 bytes ) - added by benjcarson@… 18 years ago.
Patch for shp2img empty layer segfault

Download all attachments as: .zip

Change History (2)

by benjcarson@…, 18 years ago

Attachment: shp2img.c.patch added

Patch for shp2img empty layer segfault

comment:1 by sdlime, 18 years ago

Resolution: fixed
Status: newclosed
Applied patch to CVS head. Marking as fixed. Thanks Benj!

Steve
Note: See TracTickets for help on using tickets.