DataStream::waitForData() can time out. When this happens, Protocol::deserialize() throws an exception and the returned pointer
is nullptr, wich is not checked for in the connection.
I had exactly this crash, therefore I found it.
Details
Details
- Reviewers
dvratil - Commits
- R165:6f2097daf089: avoid crash when reading from connection times out
Diff Detail
Diff Detail
- Repository
- R165 Akonadi
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.