[Fdo-trac] [fdo-trac] #1011: Harden queries against non-existent properties/classnames
FDO
trac_fdo at osgeo.org
Tue Sep 29 08:23:06 PDT 2026
#1011: Harden queries against non-existent properties/classnames
------------------------------+----------------------
Reporter: jng | Owner: jng
Type: defect | Status: closed
Priority: major | Milestone: 4.2.0
Component: GenericRdbms API | Version:
Severity: 3 | Resolution: fixed
Keywords: | External ID:
------------------------------+----------------------
Changes (by jng):
* resolution: => fixed
* status: assigned => closed
Comment:
In [changeset:"8358" 8358]:
{{{#!CommitTicketReference repository="" revision="8358"
Harden GenericRdbms core against non-existent geom properties or non-
existent class names.
Various *FilterProcessor subclasses blindly assumed a referenced geom prop
or class name cannot possibly be invalid and will always exist when we ask
for it. This is a recipe for nullptr deref that will segfault/crash the
calling FDO client application.
Added test suite (inherited by all GenericRdbms providers) that exercises
queries with non-existent geom props and class names. Before this fix was
in place, these test runners crashed out, confirming the issue. With the
fix in place, these test runners now run to completion.
Fixes #1011
}}}
--
Ticket URL: <https://trac.osgeo.org/fdo/ticket/1011#comment:1>
FDO <http://fdo.osgeo.org/>
Feature Data Objects
More information about the fdo-trac
mailing list