diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-09-25 14:30:48 (GMT) |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-05-07 17:26:45 (GMT) |
commit | 9dba7627557364c3498809e775ab79bc6f0c3158 (patch) | |
tree | 640a093e29eb61824543dd9e82b3ae1765a00d5a /src/plugins/platforms/fontdatabases/basicunix | |
parent | bb00ac8d1251be3e703cc09e5fb2f100f24b398b (diff) | |
download | Qt-9dba7627557364c3498809e775ab79bc6f0c3158.zip Qt-9dba7627557364c3498809e775ab79bc6f0c3158.tar.gz Qt-9dba7627557364c3498809e775ab79bc6f0c3158.tar.bz2 |
Make QContiguousCache with zero capacity not crash
These containers don't make sense and will just result in no action
being taken (all items added will simply be discarded), but it
shouldn't crash due to a division by zero.
Task-number: QTBUG-27339
Change-Id: Ib9acf5c0a9a826e6853e7beaf5e56511fde98dc6
(cherry-picked from qt5 commit 320c4e31e124f99601399d00935362b587c77510)
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Diffstat (limited to 'src/plugins/platforms/fontdatabases/basicunix')
0 files changed, 0 insertions, 0 deletions