Re: ncurses 5 ABI compatibility mode can have spaces replaced with null bytes
Stian Skjelstad <[email protected]> Mon, 20 Jul 2026 21:18:26 +0200
| Newsgroups | gmane.comp.lib.ncurses.bugs |
|---|---|
| Message-ID | <CAJxf8u0Fr+2vYs==fAj6=r4XNFxJ2uPg-iHFZyCLWKCC6JRLSQ@mail.gmail.com> |
--000000000000f5ba8f06570fc575 Content-Type: text/plain; charset="UTF-8" Optional route to go, if the game is abusing the API in ways it should not have done that is hard to maintain in upstream ncurses compatibilty library: Create a custom "ncurses" library that just contains the functions the game uses, and keep a memory layout the game expects, and call the real host ncurses library with correct data and layout. Stian Skjelstad On Sun, Jul 19, 2026, 16:32 Platon <[email protected]> wrote > > There are no sources for this program, so I had to dig into assembler to > figure out what was going on. I managed to make a reproducer that showcases > the issue: > --000000000000f5ba8f06570fc575 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto"><div><div>Optional route to go, if the game is abusing th= e API in ways it should not have done that is hard to maintain in upstream = ncurses compatibilty library:</div><div dir=3D"auto"><br></div><div dir=3D"= auto">Create a custom "ncurses" library that just contains the fu= nctions the game uses, and keep a memory layout the game expects, and call = the real host ncurses library with correct data and layout.</div><div dir= =3D"auto"><br></div><div><br></div><div data-smartmail=3D"gmail_signature">= Stian Skjelstad</div><br><div class=3D"gmail_quote gmail_quote_container"><= div dir=3D"ltr" class=3D"gmail_attr">On Sun, Jul 19, 2026, 16:32 Platon <= ;<a href=3D"mailto:[email protected]">[email protected]</a>> wrote</di= v><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:= 1px #ccc solid;padding-left:1ex"><br> There are no sources for this program, so I had to dig into assembler to fi= gure out what was going on. I managed to make a reproducer that showcases t= he issue:<br> </blockquote></div></div></div> --000000000000f5ba8f06570fc575--