Ticket #4262 (closed defect: fixed)
OGR SQL expression parser overflow
|Reported by:||tamas||Owned by:||tamas|
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.