Null-initialize QJsonRpcProtocolPrivate::m_transport
Since we check it for nullptr on setTransport() this fixes a potential
crash.
Pick-to: 6.6 6.5
Coverity-Id: 428978
Change-Id: I11e22d60a6d4539f33093b21c54d197e9330b9c6
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
| commit | 8435fcffb909808074ce93380867204f4c553f01 |
| parent | 21b193b50b6977a3d82a612e52310a95e05deaa6 |
| author | Ulf Hermann <ulf.hermann@qt.io> |
| committer | Ulf Hermann <ulf.hermann@qt.io> |
| commit time | Tue, 5 Dec 2023 08:50:38 +0100 |