Ticket #4262 (closed defect: fixed)
OGR SQL expression parser overflow
| Reported by: | tamas | Owned by: | tamas |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | OGR_SF | Version: | unspecified |
| Severity: | normal | Keywords: | sql |
| Cc: |
Description
OGR SQL limits the size of the expression token stack to 200 and a "memory exhausted" error is generated for large expressions. This is related to the YYINITDEPTH setting in swq_parser.cpp. Currently the built in stack extension mechanism is not enabled.
Attached a fix for the parser definition file.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

