Hi,

Am Freitag, 6. März 2026, 17:26:26 Mitteleuropäische Normalzeit schrieb 
Jose Luis Salas:
> Hi,
> 
> I've been hitting also this. I submitted a bug upstream [1] but it
> looks is Debian packaging's patching the upstream package.
> 
> There's more information there, but for me crashed on empty STDIN.
> 
> To reproduce:
> 
> $ echo -n '' | /usr/bin/akonadi_html_to_text
> 
> Using 0.16.x version or html2text Rust crate or falling back to the C
> implementation works without segfaulting.
> 
> Regards,
> 
> [1] https://bugs.kde.org/show_bug.cgi?id=516865[1]

Reading the KDE bug report, it seems the issue is the Rust crate. The 
reason why we have to patch it is because that's the version that is 
available in Debian. 

I'll ask the Rust team whether they can update it 0.16. But apart from 
that, the only thing I can do is to not use the Rust crate and use the 
fallback option of QTextDocument instead. Though even that can crash 
when parsing untrusted html.


-- 
Med vänliga hälsningar

Patrick Franz

Reply via email to