mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-04 00:30:59 -05:00
If the expression was referencing a non-existing field, -1 was returned in the result set, which caused later crashed in various providers, including the Spatialite, Postgres, etc..., due to tried to dereference mFields.at(-1) Discarding invalid indices is what is also done in QgsFeatureRequest::OrderBy::usedAttributeIndices() Fixes #33878
4.8 MiB
4.8 MiB