Fix array overrun when new items are appended to a result set.
authorAndrew den Exter <andrew.den.exter@jollamobile.com>
Wed, 16 Apr 2014 23:33:38 +0000 (23:33 +0000)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 17 Apr 2014 01:09:41 +0000 (03:09 +0200)
commitde8204ba90d03e2b4c1764cb29d2f1ddf30d6fc0
tree598afbb173c1a9b6a1ac520b24c0b6aa4d34c383
parentf6640180b90d791492a3cff0f80c09d5a853d683
Fix array overrun when new items are appended to a result set.

Check the correct iterator in the loop guard.

Change-Id: I1b6092febdc09ca908e9fab1716d98c3ebd6ec6f
Reviewed-by: Christopher Adams <chris.adams@jollamobile.com>
src/gallery/tracker/qgallerytrackerresultset.cpp