Opened 13 years ago
Closed 13 years ago
#3888 closed defect (fixed)
Segfault on malformed <PropertyIsLike> filters
Reported by: | rouault | Owned by: | rouault |
---|---|---|---|
Priority: | normal | Milestone: | 5.6.7 release |
Component: | WFS Server | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
The following requests cause a segfault due to a typo in a sanity check ;
http://127.0.0.1:8080/mapserv.cgi?map=pg.map&SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=world&FILTER=<Filter><PropertyIsLike wildCard='*' singleChar='_' escapeChar='!'><PropertyName></PropertyName><Literal>value</Literal></PropertyIsLike></Filter>
http://127.0.0.1:8080/mapserv.cgi?map=pg.map&SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=world&FILTER=<Filter><PropertyIsLike wildCard='*' singleChar='_' escapeChar='!'><PropertyName>name</PropertyName><Literal></Literal></PropertyIsLike></Filter>
Note:
See TracTickets
for help on using tickets.
Fixed in trunk (r11742), branch-6-0 (r11744) and branch-5-6 (r11743)