OGR expression parser causes access violations with large expressions
|Reported by:||tamas||Owned by:||tamas|
Currently the expression tokenizer has a limitation of max 1024 tokens stored in a preallocated array. When reaching the upper limit an access violation may occur due to some incorrect hanglings when the sub-expressions are processed. The following patch aims to remove this limit and prevent from these errors. I should also be considered to minimize the recursion level as much as possible to prevent from the potential stack overflow in the future.