mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-04-10 03:31:17 +00:00
Fix a crash in case of corrupt local data.
This commit is contained in:
parent
6cbee72b8a
commit
cf6dbfaf55
@ -149,6 +149,7 @@ DocumentData *Document::readFromStreamHelper(
|
||||
if ((stream.status() != QDataStream::Ok)
|
||||
|| (!dc && !access)
|
||||
|| !thumb
|
||||
|| !videoThumb
|
||||
|| (thumb->valid()
|
||||
&& (!storage || !storage->isDocumentThumbnail()))) {
|
||||
stream.setStatus(QDataStream::ReadCorruptData);
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 672ec0bcbea6ca5c703ef3a4ac7f1f1b8dc652d6
|
||||
Subproject commit 91c0e6664db4a444d630e3a0101f599a92df1dd9
|
Loading…
Reference in New Issue
Block a user