telegramdesktop/tdesktop/public-canary • 3ad1b6c • 1 files, +19/-6 Fixed crashes reordering stickers

Telegram github commits and releases

Telegram github commits and releases

@tgappsupdates

Broadcast from the most important Telegram clients' repositories

4,538 subscribers
Open in Telegram
telegramdesktop/tdesktop/public-canary3ad1b6c1 files, +19/-6
Fixed crashes reordering stickers in a set.

A press without a following move leaves lastSelected == -1, always so for
mask sets, and reordering to -1 rotated past _elements.begin().

_pack also keeps every sticker while _elements skips premium ones when
the account cannot buy premium, so _pack is the longer list - but hit
testing bounded itself by _pack, the shift animation map was keyed over
_pack, and the paint loop reached _elements[index] through those keys
before its own bounds check. Index everything by _elements, which is what
is actually painted.

telegramdesktop/tdesktop/public-canarye7d87b81 files, +9/-1
Fixed crash pasting a huge image from the clipboard.

telegramdesktop/tdesktop/public-canary44462222 files, +22/-9
Fixed use-after-free with several downloads per message.

telegramdesktop/tdesktop/public-canary14861f33 files, +24/-0
Fixed account deleted from inside its own teardown.

telegramdesktop/tdesktop/public-canary2a078921 files, +1/-1
Fixed divide by zero on a raced Lottie frame rate.

telegramdesktop/tdesktop/public-canaryb7bc2011 files, +4/-1
Fixed crash on a sensitive album of documents.

telegramdesktop/tdesktop/public-canary19239dc1 files, +14/-4
Fixed crash opening a url auth box already closed.

show() can hand back an already empty pointer, and subscribing to
boxClosing() through it dereferenced null. That event has also already
passed by then, so the decline request has to be sent right away instead.

telegramdesktop/tdesktop/public-canaryaba8ea01 files, +10/-1
Fixed stale last message after a sublist switch.

telegramdesktop/tdesktop/public-canary099b0812 files, +41/-12
Fixed use-after-free in the text appearing animation.

telegramdesktop/tdesktop/public-canary4a9c4e51 files, +19/-1
Fixed use-after-free in the filtered chats ripple.

#tdesktop
Open post in Telegram