diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-12-01 19:58:44 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-12-01 19:58:44 (GMT) |
commit | 480b395bd652a4ac6e3f262bd99a045dff95c4ac (patch) | |
tree | fc149cdab904c5ba8bb59b67a3192d2002c71133 /dist/changes-1.41 | |
parent | 537bff8c020c8fd2c150b2821d1cc035ee96f84f (diff) | |
download | Qt-480b395bd652a4ac6e3f262bd99a045dff95c4ac.zip Qt-480b395bd652a4ac6e3f262bd99a045dff95c4ac.tar.gz Qt-480b395bd652a4ac6e3f262bd99a045dff95c4ac.tar.bz2 |
Fix crash in QVector::reserve when reserving smaller size on a shared vector
We cannot call realloc with aalloc smaller than asize.
Also include obvious optimisation: take the qMin computation out of
the loop.
Task-number: QTBUG-6416
Reviewed-by: Thiago
Diffstat (limited to 'dist/changes-1.41')
0 files changed, 0 insertions, 0 deletions