On Sat, 04 Feb 2023 17:05:16 +0000, Ralph Corderoy wrote:
> Hi Patrick,
> 
> Thanks for digging.
> 
> > With some experimentation, I found that the null byte comes from
> > KMail's "Add quote characters" feature.  Oh dear.  I don't think
> > it is supposed to do that.
> :
> :-)  Perhaps some off-by-one error included the terminator of a
> 
> NUL-terminated string.

It looks like the bug got fixed for newer releases in KPIMTextEdit:
https://invent.kde.org/pim/kpimtextedit/-/commit/5be92c63f3bf351eebaeab5860409873d398bce5

Sure enough, if I break from habit and include a newline character at
the end of the text selection before issuing the Add Quote Characters
command, then the null character does not appear.


Patrick



-- 
  Next meeting: Online, Jitsi, Tuesday, 2023-02-07 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk

Reply via email to