diff options
author | Alex Trotsenko <alex1973tr@gmail.com> | 2015-05-19 10:48:21 +0300 |
---|---|---|
committer | Alex Trotsenko <alex1973tr@gmail.com> | 2015-05-27 13:37:04 +0000 |
commit | 310b7ef010f524e8d3cde5605cd495a4ffed5862 (patch) | |
tree | 07e8ecaf8fb6d5b998280643278221776b50dd25 /src/widgets | |
parent | 02f6b21bbc4f1f7afc30a87227c3a0787a5d2225 (diff) |
QIODevice::read(): limit the size of result buffer with a proper value
Now its maximum size is QByteArray::MaxSize not INT_MAX.
Change-Id: Id548b3cb94f910a3212665182280a3a2948dd93e
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'src/widgets')
0 files changed, 0 insertions, 0 deletions