-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
4.0.0, 4.0.1, 4.1.0, 4.1.1, 4.1.2, 4.1.3, 4.1.4, 4.1.5, 4.2.0, 4.2.1, 4.2.2, 4.2.3, 4.3.0, 4.3.1, 4.3.2, 4.3.3, 4.3.4, 4.3.5, 4.4.0, 4.4.1, 4.4.2, 4.4.3, 4.5.0, 4.5.1, 4.5.2, 4.5.3, 4.6.0, 4.6.1, 4.6.2, 4.6.3, 4.7.0
-
None
-
73da1fd9ff3e316dca3367a013f41b2488ac4081
QDataStream doesn't check for the return value of QIODevice::write() in any of its operator<< implementations. This is either a bug in those operator<< implementations (where if the returned size > 0 but smaller than what they tried to write it should call write() again with the remaining data), or a bug in the documentation for QIODevice, where nowhere it says that things break if your implementation of writeData() returns a positive value other than then length passed to it.