Fix uninitialized memory

This commit is contained in:
Ali 2023-05-22 23:55:42 +04:00
parent f35bb9cdac
commit d086a8f674

View File

@ -28,6 +28,7 @@ final class PeerTimeoutPropertiesTable: Table {
private func lowerBound() -> ValueBoxKey {
let key = ValueBoxKey(length: 4 + 8)
key.setInt32(0, value: 0)
key.setInt64(4, value: 0)
return key
}