Hi Michael,

Michael Schroeder schrieb am Thu, Feb 11, 2021 at 04:54:46PM +0000:
> I've dug a bit more into this, and the root cause of all the evil we
> see seems to be that utf8_isdouble() does not return true for the
> 0xdf00-0xdfff character range. This seems to be a mistake done
> in commit b8fd0c833bbd910a525d270ebc8f7e87ee00cb0a in the year 2008!

Kinda explains why the original submitter couldn't reproduce in 4.0.6
or so. Was though surprised to see this version still being around
somewhere.

> While adding the df00-dfff range to utf8_isdouble is already fixing
> the segfault, I think we should still apply the changes I sent earlier
> for extra safety.

Seems as if that "ÿ " issue is gone now with your most recent patch.
The crash is gone, too. And "e̤̒" is output properly, too.

Yay, thanks!

The only thing it didn't fix so far is
https://savannah.gnu.org/bugs/?31336 aka
https://bugs.debian.org/600246 although I really had some hope that
this might be fixed as a side-effect of your patch. :-)

(Also reenabling the patch in these bug reports still showed the
regression discovered back then: https://bugs.debian.org/677512)

So I'll switch the Debian package of screen to that third patch of
yours. Thanks!

Salvatore, Utkarsh: Will also prepare and test at least patches in Git
for Buster and Stretch. (Hey, I don't want my mutt screen sessions to
be killed anymore when reading this thread. ;-) We should then
probably coordinate 1:1 who does the according stable-security and LTS
uploads.

                Regards, Axel
-- 
 ,''`.  |  Axel Beckert <a...@debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE

Attachment: signature.asc
Description: PGP signature

Reply via email to