Openembedded Core Discussions
 help / color / mirror / Atom feed
* [Kirkstone] joe editor broken with current ncurses
@ 2023-11-21 10:23 tobias.jakobi
  2023-11-21 10:39 ` [OE-core] " Alexander Kanavin
  0 siblings, 1 reply; 14+ messages in thread
From: tobias.jakobi @ 2023-11-21 10:23 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1831 bytes --]

Hello,

I'm currently facing some problems with seem to originate from version bump of ncurses done in May this year. The problem manifests itself in applications using ncurses rendering garbage and "destroying" the terminal. I.e. you need to issue a terminal reset afterwards to make it usable again. The editor joe is affected, but according to other reports tmux as well.

It seems like this problem is known. E.g. the Gentoo bugtracker has some entries that analyse the problem, see here:
https://bugs.gentoo.org/904247
https://bugs.gentoo.org/904263

Gentoo currently provides two ncurses version in their repo, 6.4_p20230401 and 6.4_p20230527, where the latter one is masked because of this issue.

It appears that openembedded-core/kirkstone suffers from the same problem (even though only A 6.3 version of ncurses is used). I'm currently using commit 56503e3e80603de3b69acef2f6d32836bc9e5e5d of the layer (from end of October, so faily recent).

As a test I have reverted the following commits:
4d79b1cc4178ba88830bab59a45163bbddf586ce (ncurses: fix CVE-2023-29491)
862c1b109cf8f31522a250cc9ff4146fe526450c (ncurses: update to patchlevel 20220423)

This restore functionality of joe, but of course leaves the system vulnerable to the corresponding CVEs. I'm not sure on how to proceed here. joe is a commonly used editor on our systems and I really don't want to leave it in a broken state (as some developers in our team depend on it). At the same time I don't want to leave known CVEs unpatched.

I'm thinking about bumping ncurses to the (apparently unaffected?) 6.4 version that Gentoo currently ships and put the .bb in our custom layer for the time being. I don't know how well that would work though.

Are there any plans for a version bump in the Kirkstone branch?

With best wishes,
Tobias

[-- Attachment #2: Type: text/html, Size: 2075 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2023-11-22 16:28 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-21 10:23 [Kirkstone] joe editor broken with current ncurses tobias.jakobi
2023-11-21 10:39 ` [OE-core] " Alexander Kanavin
     [not found]   ` <31510.1700646535220677658@lists.openembedded.org>
2023-11-22  9:57     ` Private: " Alexander Kanavin
2023-11-22 10:10   ` tobias.jakobi
2023-11-22 10:12     ` [OE-core] " Alexander Kanavin
2023-11-22 10:20       ` tobias.jakobi
2023-11-22 10:43         ` [OE-core] " Alexander Kanavin
2023-11-22 10:58           ` Tobias Jakobi
2023-11-22 11:12             ` [OE-core] " Alexander Kanavin
2023-11-22 15:20               ` Tobias Jakobi
2023-11-22 15:37                 ` [OE-core] " Richard Purdie
2023-11-22 15:46                   ` Tobias Jakobi
2023-11-22 15:52                     ` [OE-core] " Richard Purdie
2023-11-22 16:27                     ` Alexander Kanavin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox