Opened 20 years ago
Closed 20 years ago
#995 closed defect (fixed)
segfault in colorObj::toHex() for invalid colors
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | high | Milestone: | 4.4 release |
Component: | MapScript-SWIG | Version: | 4.3 |
Severity: | normal | Keywords: | |
Cc: |
Description
in the case of a (-1,-1,-1) color, set an error and return before calculating the hex value.
Change History (2)
comment:2 by , 20 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
fixed. sets an MS_MISCERR and returns NULL in the undefined color case.
Note:
See TracTickets
for help on using tickets.