mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Fix uninitialized memory
This commit is contained in:
parent
f35bb9cdac
commit
d086a8f674
@ -28,6 +28,7 @@ final class PeerTimeoutPropertiesTable: Table {
|
|||||||
private func lowerBound() -> ValueBoxKey {
|
private func lowerBound() -> ValueBoxKey {
|
||||||
let key = ValueBoxKey(length: 4 + 8)
|
let key = ValueBoxKey(length: 4 + 8)
|
||||||
key.setInt32(0, value: 0)
|
key.setInt32(0, value: 0)
|
||||||
|
key.setInt64(4, value: 0)
|
||||||
return key
|
return key
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user