summaryrefslogtreecommitdiffstats
path: root/src/platformsupport/platformsupport.pro
diff options
context:
space:
mode:
authorVolker Krause <volker.krause@kdab.com>2014-01-17 13:28:37 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-18 11:16:40 +0100
commitec77f93b389d0a69af54f278a8bf7c4919fd696c (patch)
treed0319b220c4e1da71cbad7d57fc0508db5ad5756 /src/platformsupport/platformsupport.pro
parenteae8abbc188db559bb1509dbcab6807252edc32e (diff)
Fix crash when constructing a QVector with an empty initializer list.
Data::allocate(0) returns a pointer to read-only memory, updating d->size will segfault. The safety check for this exists in all other QVector ctors already. Change-Id: Ida0fe4182de56ee62c7f91e8652cfafbfd7b8410 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/platformsupport/platformsupport.pro')
0 files changed, 0 insertions, 0 deletions