diff options
author | Andy Shaw <andy.shaw@qt.io> | 2020-02-21 15:05:09 +0100 |
---|---|---|
committer | Andy Shaw <andy.shaw@qt.io> | 2020-02-25 18:58:17 +0100 |
commit | ce55667b62e77902c18d9a2a62e5e323516159d7 (patch) | |
tree | 06b599f36389ddbc01686f007083123d26938c9e /src/widgets/widgets/qframe_p.h | |
parent | 34a67b36528ce4f371ca972fb1fdb666da807f01 (diff) |
Set the size of the buffer so it is big enough to hold the contents
This will prevent a crash later on when it tries to assign to an index
in a QString that has not been allocated.
Fixes: QTBUG-81950
Change-Id: Ia0b5648a18f15594eeca07d234bedadcfeb266ac
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/widgets/widgets/qframe_p.h')
0 files changed, 0 insertions, 0 deletions