octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #58844] Unintended binary content copied into


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #58844] Unintended binary content copied into clipboard
Date: Mon, 17 Jan 2022 03:11:04 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36 Edg/97.0.1072.55

Follow-up Comment #9, bug #58844 (project octave):

That might be a (combination of) known bug(s). One part is that copying from
the command window widget on Windows might append or prepend garbage
characters to the copied string. Those are pretty much random afaict. (Maybe a
buffer "over-read".) I have the feeling that this happens less often (but
still does) with more modern versions of Windows.
The second part is that entering certain characters into the command window
widget on Windows might crash the console host (which is currently used as the
"backend driver" for the command window widget on Windows).

If (by chance) the garbage characters happen to contain one of the offending
characters, pasting them might lead to that crash.

I'd suspect that these bugs won't happen any more once/if we change to a
cross-platform Qt-widget for the command window.

It's some time since I looked at the current implementation. So, I can't tell
how hard it would be to fix this. Given the fact that this part of the code is
going to be ditched anyway once/if we switch to the cross-platform widget, my
motivation to work on this personally is pretty low admittedly.
I'll be happy to review patches though.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58844>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]