Version in base suite: 24.12.3-1 Base version: akonadi-search_24.12.3-1 Target version: akonadi-search_24.12.3-1+deb13u1 Base file: /srv/ftp-master.debian.org/ftp/pool/main/a/akonadi-search/akonadi-search_24.12.3-1.dsc Target file: /srv/ftp-master.debian.org/policy/pool/main/a/akonadi-search/akonadi-search_24.12.3-1+deb13u1.dsc changelog | 8 ++++++++ patches/fixcrashOnEmptyInput.patch | 20 ++++++++++++++++++++ patches/series | 1 + 3 files changed, 29 insertions(+) dpkg-source: warning: cannot verify inline signature for /srv/release.debian.org/tmp/tmpoflcbhsk/akonadi-search_24.12.3-1.dsc: no acceptable signature found dpkg-source: warning: cannot verify inline signature for /srv/release.debian.org/tmp/tmpoflcbhsk/akonadi-search_24.12.3-1+deb13u1.dsc: no acceptable signature found diff -Nru akonadi-search-24.12.3/debian/changelog akonadi-search-24.12.3/debian/changelog --- akonadi-search-24.12.3/debian/changelog 2025-03-29 17:49:31.000000000 +0000 +++ akonadi-search-24.12.3/debian/changelog 2026-07-22 17:46:25.000000000 +0000 @@ -1,3 +1,11 @@ +akonadi-search (4:24.12.3-1+deb13u1) trixie; urgency=medium + + [ Fab Stz ] + * Fix "akonadi_html_to_text is crashing a lot" (Closes: #1104598) + * Added a patch to not crash on empty input. + + -- Sandro Knauß Wed, 22 Jul 2026 19:46:25 +0200 + akonadi-search (4:24.12.3-1) unstable; urgency=medium [ Patrick Franz ] diff -Nru akonadi-search-24.12.3/debian/patches/fixcrashOnEmptyInput.patch akonadi-search-24.12.3/debian/patches/fixcrashOnEmptyInput.patch --- akonadi-search-24.12.3/debian/patches/fixcrashOnEmptyInput.patch 1970-01-01 00:00:00.000000000 +0000 +++ akonadi-search-24.12.3/debian/patches/fixcrashOnEmptyInput.patch 2026-07-21 21:31:36.000000000 +0000 @@ -0,0 +1,20 @@ +Description: Fix crash in akonadi_html_to_text + Fix crash when input is empty string. +Author: Fab Stz +Origin: self +Bug: https://bugs.kde.org/show_bug.cgi?id=516865 +Debian-Bug: https://bugs.debian.org/1104598 +Forwarded: not-needed +Last-Update: 2026-07-17 + +--- akonadi-search-24.12.3.orig/agent/htmltotext.cpp ++++ akonadi-search-24.12.3/agent/htmltotext.cpp +@@ -56,6 +56,8 @@ int main(int argc, char *argv[]) + int s = std::cin.gcount(); + content.append(arr, s); + } ++ if (content.isEmpty()) ++ return 0; + + #ifdef HAS_HTMLPARSER + const auto html = content.toStdString(); diff -Nru akonadi-search-24.12.3/debian/patches/series akonadi-search-24.12.3/debian/patches/series --- akonadi-search-24.12.3/debian/patches/series 2024-12-18 21:30:27.000000000 +0000 +++ akonadi-search-24.12.3/debian/patches/series 2026-07-21 21:31:54.000000000 +0000 @@ -1 +1,2 @@ rust-dependencies.patch +fixcrashOnEmptyInput.patch