[gdal-dev] Re: OGR SQL expression parser overflow

Tamas Szekeres szekerest at gmail.com
Mon Sep 26 11:23:12 EDT 2011


Just an update to this, I've created a ticket for this problem, and attached
a patch which seems to be working in my local set-up.
http://trac.osgeo.org/gdal/ticket/4262

Due to the lack of my knowledge about bison let me know if one have a more
appropriate solution to this problem.

Any objection to update such change in the stable branch?

Best regards,

Tamas



2011/9/25 Tamas Szekeres <szekerest at gmail.com>

> 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/20110926/b084d45a/attachment.html


More information about the gdal-dev mailing list