Apply patches to multple CVEs. Upstream has not released a new point release of the 4.9 branch. This is a best effort attempt to keep screen 4.9 in ports, for now. Any future CVEs will result in its removal. PR: 286743 Requested by: danfe
16 lines
346 B
C
16 lines
346 B
C
--- termcap.c.orig 2023-08-16 00:29:26 UTC
|
|
+++ termcap.c
|
|
@@ -361,11 +361,7 @@ int he;
|
|
if (D_CG0)
|
|
{
|
|
if (D_CS0 == 0)
|
|
-#ifdef TERMINFO
|
|
- D_CS0 = "\033(%p1%c";
|
|
-#else
|
|
- D_CS0 = "\033(%.";
|
|
-#endif
|
|
+ D_CS0 = "\033(%p1%c"; /* Old ncurses can't handle %. */
|
|
if (D_CE0 == 0)
|
|
D_CE0 = "\033(B";
|
|
D_AC = 0;
|