[gdal-dev] OGR SQL expression parser overflow

Tamas Szekeres szekerest at gmail.com
Sun Sep 25 17:49:00 EDT 2011


Hi Devs,

I've run into a "memory exhausted" error in the OGR SQL parser when the
token count exceeds 200. This is related to the YYINITDEPTH setting in
swq_parser.cpp
Does anyone know how to enable the built in stack extension mechanism which
can automatically extend the stack size up to YYMAXDEPTH (10000)?

Best regards,

Tamas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110925/2be2fb95/attachment.html


More information about the gdal-dev mailing list