Opened 13 years ago
Closed 13 years ago
#3849 closed defect (fixed)
Segementation fault on inexistent symbol in PHP MapScript
Reported by: | iap | Owned by: | aboudreault |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | MapScript-PHP | Version: | 5.6 |
Severity: | normal | Keywords: | |
Cc: | aboudreault |
Description
OS: php5-mapscript_5.6.5-2~lucid1_amd64.deb
How to reproduce:
$style->set('symbolname', 'inexistent_symbol');
Apache error log:
[Tue Apr 19 11:58:27 2011] [notice] child pid 27861 exit signal Segmentation fault (11)
Note:
See TracTickets
for help on using tickets.
Fixed ans committed in r11603. Will be in MapServer 5.6.7. Note also that the set method returns -1 if the symbol wasn't found.