diff options
author | Alex Trotsenko <alex1973tr@gmail.com> | 2016-06-17 15:07:26 +0300 |
---|---|---|
committer | Alex Trotsenko <alex1973tr@gmail.com> | 2016-07-20 06:52:43 +0000 |
commit | 902a5e7aaa0ec156d19b5a7988eff1809a6a2046 (patch) | |
tree | 6fb8b610878f92bab90a430dac95a3be9805a06f /tests/auto/network/socket/qtcpsocket | |
parent | 9467bdc9093d9b02e249c6cce508b9df3ff8b2f4 (diff) |
QDataStream: adjust containers' deserialization in transaction mode
If an error occurs during the transaction, we should prevent the
containers from being successfully read. So, check the status of the
stream before reading the container, because the deserialization
procedure temporarily resets it on entry.
Task-number: QTBUG-54022
Change-Id: Ie955c2fa3e449374f0f8403f00e487efa2bfdaf3
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'tests/auto/network/socket/qtcpsocket')
0 files changed, 0 insertions, 0 deletions