Package: libakonadisearch-bin
Version: 4:24.12.3-1
Severity: normal
Tags: patch
Dear Maintainer,
This is a followup to #1104598
I'm facing the exact same issue on trixie.
Since this is a debian specific problem and affects trixie, would you please
release a version to stable-proposed-updates that fixes it?
Patch attached.
Thanks
-- System Information:
Debian Release: 13.6
APT prefers stable-updates
APT policy: (991, 'stable-updates'), (991, 'stable-security'), (991,
'stable'), (390, 'oldoldstable-security'), (390, 'oldoldstable'), (389,
'oldoldstable-updates'), (95, 'testing'), (94, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.12.95+deb13-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8),
LANGUAGE=fr:en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libakonadisearch-bin depends on:
ii libc6 2.41-12+deb13u3
ii libgcc-s1 14.2.0-19
ii libkf6calendarcore6 6.13.0-1
ii libkf6codecs6 6.13.0-1
ii libkf6configcore6 6.13.0-2
ii libkf6contacts6 6.13.0-1
ii libkf6coreaddons6 6.13.0-1
ii libkf6i18n6 6.13.0-1
ii libkf6textutils1 1.5.4-4
ii libkpim6akonadiagentbase6 [libkpim6akonadia 4:24.12.3-2~deb13u1
gentbase6-24.12]
ii libkpim6akonadicore6 [libkpim6akonadicore6- 4:24.12.3-2~deb13u1
24.12]
ii libkpim6akonadimime6 [libkpim6akonadimime6- 4:24.12.3-1
24.12]
ii libkpim6akonadisearchpim6 [libkpim6akonadis 4:24.12.3-1.1~debian13~bastif1
earchpim6-24.12]
ii libkpim6akonadisearchxapian6 [libkpim6akona 4:24.12.3-1.1~debian13~bastif1
disearchxapian6-24.12]
ii libkpim6mime6 [libkpim6mime6-24.12] 24.12.3-1
ii libqt6core6t64 6.8.2+dfsg-9+deb13u2
ii libqt6dbus6 6.8.2+dfsg-9+deb13u2
ii libqt6gui6 6.8.2+dfsg-9+deb13u2
ii libqt6widgets6 6.8.2+dfsg-9+deb13u2
ii libstdc++6 14.2.0-19
ii libxapian30 1.4.29-3
libakonadisearch-bin recommends no packages.
libakonadisearch-bin suggests no packages.
-- no debconf information
Description: Fix crash in akonadi_html_to_text
Fix crash when input is empty string.
Author: Fab Stz <[email protected]>
Origin: self
Bug: https://bugs.kde.org/show_bug.cgi?id=516865
Debian-Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=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();