Fix a stack overflow.
Fix a stack overflow.

This was using an incorrect upper bound. The return vector is smaller
than the source vector. Therefore the copy must use the return vectors
size as upper bound.

Signed-off-by: Matthias Kretz <372ea4eca737a13cd010ee806d4ce7b98ee71550@kde.org>

VcDevel/Vc,chr-engwer/Vc,VcDevel/Vc,chr-engwer/Vc,chr-engwer/Vc,VcDevel/Vc,VcDevel/Vc