Opened 14 years ago
Closed 14 years ago
#3524 closed defect (fixed)
Error message tiles on zero-sized map cause memory allocation errors in maperror.c. (SIGFPE - Segfault)
Reported by: | relet | Owned by: | sdlime |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | MapServer C Library | Version: | 5.6 |
Severity: | minor | Keywords: | |
Cc: |
Description
gdImageColorAllocate fails when image size (any of the two dimensions) is zero.
Patch appended.
Attachments (1)
Change History (4)
by , 14 years ago
Attachment: | errorimage-allocation-fix.patch added |
---|
comment:1 by , 14 years ago
Cc: | added |
---|
comment:2 by , 14 years ago
Cc: | removed |
---|
comment:3 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
I'll take care of 5.6, not sure if this impacts 6.0 too... Steve