mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-08 19:10:53 +00:00
Fix decoding
This commit is contained in:
parent
5beffde0ad
commit
faf22b7001
@ -839,7 +839,7 @@ public final class PostboxDecoder {
|
||||
memcpy(&valueLength, bytes + offset, 4)
|
||||
offset += 4
|
||||
var i: Int32 = 0
|
||||
while i < length {
|
||||
while i < valueLength {
|
||||
if offset + 4 > length {
|
||||
offset = 0
|
||||
return false
|
||||
|
Loading…
x
Reference in New Issue
Block a user