Your message dated Sat, 09 Oct 2021 12:09:40 +0100 with message-id <81741a2f4e370c14a3bec08b7fe6e2b10c32267b.camel@adam-barratt.org.uk> and subject line Closing p-u bugs for updates in 11.1 has caused the Debian Bug report #993968, regarding bullseye-pu: package telegram-desktop/2.6.1+ds-1+deb11u1 to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 993968: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=993968 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: buster-pu: package telegram-desktop/2.6.1+ds-1+deb11u1
- From: Nicholas Guriev <nicholas@guriev.su>
- Date: Wed, 08 Sep 2021 22:49:30 +0300
- Message-id: <5a307ec5a4aec2adc196fb865aed072d94bbdfff.camel@guriev.su>
Package: release.debian.org Severity: normal Tags: bullseye User: release.debian.org@packages.debian.org Usertags: pu Dear release managers, Please consider to include the following crash fix of Telegram Desktop to a coming bullseye point release. [ Reason ] A critical issue leading to a crash was revealed in the telegram-desktop package in released stable. See Bug#993243 for detailed information about auto-deleting timers. [ Impact ] When a user receives an incoming message with time to live of 30 days, the application crashes and may fall into unrecoverable state. [ Tests ] A possible test-case is described in the aforementioned bug report. [ Risks ] Minimal. The proposed patch is tiny and it is based on a commit written by an upstream author. [ Checklist ] [x] *all* changes are documented in the d/changelog [x] I reviewed all changes and I approve them [x] attach debdiff against the package in stable [x] the issue is verified as fixed in unstable [ Changes ] New Schedule-TTL-check.patch.diffstat for telegram-desktop-2.6.1+ds telegram-desktop-2.6.1+ds changelog | 6 ++++++ patches/Schedule-TTL-check.patch | 25 +++++++++++++++++++++++++ patches/series | 1 + 3 files changed, 32 insertions(+) diff -Nru telegram-desktop-2.6.1+ds/debian/changelog telegram-desktop-2.6.1+ds/debian/changelog --- telegram-desktop-2.6.1+ds/debian/changelog 2021-02-27 21:48:45.000000000 +0300 +++ telegram-desktop-2.6.1+ds/debian/changelog 2021-09-07 15:08:28.000000000 +0300 @@ -1,3 +1,9 @@ +telegram-desktop (2.6.1+ds-1+deb11u1) bullseye; urgency=medium + + * Add Schedule-TTL-check.patch (Closes: #993243). + + -- Nicholas Guriev <guriev-ns@ya.ru> Tue, 07 Sep 2021 15:08:28 +0300 + telegram-desktop (2.6.1+ds-1) unstable; urgency=medium * New upstream release. diff -Nru telegram-desktop-2.6.1+ds/debian/patches/Schedule-TTL-check.patch telegram-desktop-2.6.1+ds/debian/patches/Schedule-TTL-check.patch --- telegram-desktop-2.6.1+ds/debian/patches/Schedule-TTL-check.patch 1970-01-01 03:00:00.000000000 +0300 +++ telegram-desktop-2.6.1+ds/debian/patches/Schedule-TTL-check.patch 2021-09-07 14:09:28.000000000 +0300 @@ -0,0 +1,25 @@ +Description: Check message TTL every 24 hours +Origin: https://github.com/telegramdesktop/tdesktop/commit/b2e829904fb7976784618dea18700dbb5568b42f#diff-1a8a66ba5ef178212c808f28d2952c728a53d3150033ec0bd15fe2819d67cd38 +Bug-Debian: https://bugs.debian.org/993243 +Author: John Preston <johnprestonmail@gmail.com> +Acked-By: Nicholas Guriev <guriev-ns@ya.ru> +Last-Update: Tue, 07 Sep 2021 14:09:28 +0300 + +diff --git a/Telegram/SourceFiles/data/data_session.cpp b/Telegram/SourceFiles/data/data_session.cpp +index 421a2096b..1068f1cb3 100644 +--- a/Telegram/SourceFiles/data/data_session.cpp ++++ b/Telegram/SourceFiles/data/data_session.cpp +@@ -2020,8 +2020,11 @@ void Session::scheduleNextTTLs() { + } + const auto nearest = _ttlMessages.begin()->first; + const auto now = base::unixtime::now(); +- const auto timeout = (std::max(now, nearest) - now) * crl::time(1000); +- _ttlCheckTimer.callOnce(timeout); ++ ++ // Set timer not more than for 24 hours. ++ const auto maxTimeout = TimeId(86400); ++ const auto timeout = std::min(std::max(now, nearest) - now, maxTimeout); ++ _ttlCheckTimer.callOnce(timeout * crl::time(1000)); + } + + void Session::unregisterMessageTTL( diff -Nru telegram-desktop-2.6.1+ds/debian/patches/series telegram-desktop-2.6.1+ds/debian/patches/series --- telegram-desktop-2.6.1+ds/debian/patches/series 2021-02-27 09:31:30.000000000 +0300 +++ telegram-desktop-2.6.1+ds/debian/patches/series 2021-09-07 14:09:28.000000000 +0300 @@ -5,3 +5,4 @@ Ignore-emoji-pack.patch No-random-popups.patch Packed-resources.patch +Schedule-TTL-check.patchAttachment: signature.asc
Description: This is a digitally signed message part
--- End Message ---
--- Begin Message ---
- To: 992063-done@bugs.debian.org, 992078-done@bugs.debian.org, 992114-done@bugs.debian.org, 992153-done@bugs.debian.org, 992206-done@bugs.debian.org, 992299-done@bugs.debian.org, 992435-done@bugs.debian.org, 992547-done@bugs.debian.org, 992693-done@bugs.debian.org, 992836-done@bugs.debian.org, 992843-done@bugs.debian.org, 992956-done@bugs.debian.org, 992978-done@bugs.debian.org, 993035-done@bugs.debian.org, 993049-done@bugs.debian.org, 993133-done@bugs.debian.org, 993225-done@bugs.debian.org, 993276-done@bugs.debian.org, 993281-done@bugs.debian.org, 993282-done@bugs.debian.org, 993283-done@bugs.debian.org, 993396-done@bugs.debian.org, 993489-done@bugs.debian.org, 993523-done@bugs.debian.org, 993564-done@bugs.debian.org, 993604-done@bugs.debian.org, 993639-done@bugs.debian.org, 993655-done@bugs.debian.org, 993656-done@bugs.debian.org, 993708-done@bugs.debian.org, 993720-done@bugs.debian.org, 993792-done@bugs.debian.org, 993793-done@bugs.debian.org, 993822-done@bugs.debian.org, 993825-done@bugs.debian.org, 993899-done@bugs.debian.org, 993968-done@bugs.debian.org, 994022-done@bugs.debian.org, 994107-done@bugs.debian.org, 994111-done@bugs.debian.org, 994112-done@bugs.debian.org, 994147-done@bugs.debian.org, 994490-done@bugs.debian.org, 994555-done@bugs.debian.org, 994574-done@bugs.debian.org, 994627-done@bugs.debian.org, 994709-done@bugs.debian.org, 994710-done@bugs.debian.org, 994828-done@bugs.debian.org, 994861-done@bugs.debian.org, 994880-done@bugs.debian.org, 994881-done@bugs.debian.org, 994885-done@bugs.debian.org, 994907-done@bugs.debian.org, 994946-done@bugs.debian.org, 995025-done@bugs.debian.org, 995062-done@bugs.debian.org, 995075-done@bugs.debian.org, 995144-done@bugs.debian.org, 995237-done@bugs.debian.org, 995304-done@bugs.debian.org, 995306-done@bugs.debian.org, 995331-done@bugs.debian.org, 995469-done@bugs.debian.org, 995481-done@bugs.debian.org, 994097-done@bugs.debian.org
- Subject: Closing p-u bugs for updates in 11.1
- From: "Adam D. Barratt" <adam@adam-barratt.org.uk>
- Date: Sat, 09 Oct 2021 12:09:40 +0100
- Message-id: <81741a2f4e370c14a3bec08b7fe6e2b10c32267b.camel@adam-barratt.org.uk>
Package: release.debian.org Version: 11.1 Hi, The updates relating to these bugs were included in this morning's 11.1 point release for bullseye. Regards, Adam
--- End Message ---