diff options
| author | Vladimir Belyavsky <belyavskyv@gmail.com> | 2023-09-06 12:49:45 +0300 |
|---|---|---|
| committer | Vladimir Belyavsky <belyavskyv@gmail.com> | 2023-09-06 18:19:12 +0000 |
| commit | 74fb2519e32760dbe9f10a9ffd2b460d827062a5 (patch) | |
| tree | e56cac04f449cc47de14d5711a63be26798e21ab /src/network/access/qnetworkreplywasmimpl.cpp | |
| parent | ac9e9687559df28dbd6bc9bb645006ff454e18bd (diff) | |
QNetworkReply: fix potential nullptr access in loadFromCacheIfAllowed()
Fix a potential nullptr access in
QNetworkReplyHttpImplPrivate::loadFromCacheIfAllowed() on accessing to
QAbstractNetworkCache::data(). It is not yet clear in what cases
cached data can be null, especially if metaData is present,
but we have user reports of such crashes.
Amends a6776de0c70d23ac197682c7bef603450cb8b03f
Fixes: QTBUG-116788
Pick-to: 6.2 6.5 6.6
Change-Id: I548065c6f809d9d45db6dd785c28acbdc77621e2
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/network/access/qnetworkreplywasmimpl.cpp')
0 files changed, 0 insertions, 0 deletions
