[prev in list] [next in list] [prev in thread] [next in thread]
List: fdo-trac
Subject: [fdo-trac] #603: Expression Engine fails to process combinations of
From: "FDO" <trac_fdo () osgeo ! org>
Date: 2010-01-05 15:14:49
Message-ID: 042.1298797240938046fef301df3aa673e2 () osgeo ! org
[Download RAW message or body]
[Attachment #2 (text/plain)]
#603: Expression Engine fails to process combinations of multiple operations
-----------------------------+----------------------------------------------
Reporter: gregboone | Owner: gregboone
Type: defect | Status: new
Priority: major | Milestone: 3.5.0
Component: Utilities API | Version: 3.5.0
Severity: 2 | Keywords: ExpressionEngine
External_id: 1282572 |
-----------------------------+----------------------------------------------
Issue:
There is a defect in the FDO Expression engine when optimizing complex
spatial
filters that contain an !EnvelopeIntersects expression and a secondary
spatial
condition such as Intersects. The optimizing logic in !OptimizeSubSet()
attempts
to optimize the !EnvelopeIntersects and Intersects operation so that the
!EnvelopeIntersects becomes irrelevant and is removed from the filter.
This works
well for filters containing a single !EnvelopeIntersects condition and a
single
Intersects condition. However, if there are multiple Intersects
conditions, the
for loop logic of the routine does not have sufficient safeguards to
ensure that
the deletion of the !EnvelopeIntersects condition from the filter will
allow the
executing nested for loop to continue without attempting to access an
array
member at an invalid location.
Resolution:
Add a sanity check to the FDO Expression Engine !OptimizeSubSet() routine
to
ensure that array items are not accessed at invalid locations.
--
Ticket URL: <http://trac.osgeo.org/fdo/ticket/603>
FDO <http://fdo.osgeo.org/>
Feature Data Objects
_______________________________________________
fdo-trac mailing list
fdo-trac@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/fdo-trac
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic