mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-17 03:40:18 +00:00
Fix integer overflow crash
This commit is contained in:
parent
aa1b009cea
commit
6a520a876b
@ -1639,7 +1639,7 @@ final class PostboxImpl {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if message.timestamp + 60 * 10 > timestampForAbsoluteTimeBasedOperations {
|
if Int64(message.timestamp) + 60 * 10 > Int64(timestampForAbsoluteTimeBasedOperations) {
|
||||||
return .skip
|
return .skip
|
||||||
}
|
}
|
||||||
var flags = StoreMessageFlags(message.flags)
|
var flags = StoreMessageFlags(message.flags)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user