Opened 15 years ago
Closed 15 years ago
#2996 closed defect (fixed)
OGR expression parser causes access violations with large expressions
Reported by: | tamas | Owned by: | tamas |
---|---|---|---|
Priority: | normal | Milestone: | 1.6.2 |
Component: | default | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
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.
Attachments (1)
Change History (3)
by , 15 years ago
Attachment: | swq.c.patch added |
---|
comment:1 by , 15 years ago
Milestone: | 1.6.1 → 1.6.2 |
---|
comment:2 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Applied the fix in r17020 and r17018