mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-15 18:59:54 +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
|
||||
}
|
||||
var flags = StoreMessageFlags(message.flags)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user