Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
5.14
Description
Taking into account the changes to enable socket use in wasm:
https://codereview.qt-project.org/c/qt/qtbase/+/269904
https://codereview.qt-project.org/c/qt/qtbase/+/272693
QDataStream is not returning data using the fortuneclient or blockingfortuneclient example apps.
Issue in QString QDataStream &operator>>
in >> bytes; results in ReadPastEnd, as it is trying to read more data than the buffer actually has ( 1131375984 as opposed to 56)
so, the buffer contains 56 bytes, it reads 4, then tries to read 1131375984, gets 52, and then fails.