diff options
author | Thomas Hartmann <Thomas.Hartmann@digia.com> | 2012-10-08 10:34:09 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-10-09 11:23:09 +0200 |
commit | 5ed77ed046873f9df293753b05a4c5eee0b1f61d (patch) | |
tree | 16195d0577752245421a48ba31f0fbeb2628d23d /tests | |
parent | 67eb7a3763b4003768dd10c65f8043fef39fbf8d (diff) |
crash fix in designersupport
Unless result is an insert iterator, qCopy()
assumes that all iterators in the range
[result + (finish - start)] are dereferenceable.
This is not the case for an empty list.
Using foreach instead.
Change-Id: I2212a88e9b462ae2220ba5aeb43c662592cec57f
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions