oss-sec mailing list archives

Re: screen crash processing combining characters


From: Harry Sintonen <sintonen () iki fi>
Date: Tue, 9 Feb 2021 19:24:26 +0200 (EET)

On Tue, 9 Feb 2021, Tavis Ormandy wrote:

Hello, I noticed someone posted this to the screen-devel list. I can
reproduce it here, just catting the testcase does crash my screen
session.

https://lists.gnu.org/archive/html/screen-devel/2021-02/msg00000.html

I managed to reproduce this against screen + irssi. It was a bit tricky to get it triggered but eventually screen did die.

--
l=2001;main(i){float o,O,_,I,D;for(;O=I=l/571.-1.75,l;)for(putchar(--l%80?
i:10),o=D=l%80*.05-2,i=31;_=O*O,O=2*o*O+I,o=o*o-_+D,o+_+_<4+D&i++<87;);puts
("  Harry 'Piru' Sintonen <sintonen () iki fi> https://www.iki.fi/sintonen";);}


Current thread: