bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 6k buffer bug in shells


From: Chet Ramey
Subject: Re: 6k buffer bug in shells
Date: Mon, 5 Feb 2018 10:27:36 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

On 2/2/18 3:19 PM, Chet Ramey wrote:
> On 2/2/18 9:50 AM, Sten Westerback wrote:
>> Hi
>>
>> After trying to figure out what causes a weird bug, which i can see with 
>> lots of shells and connection types (local terminal on linux, ssh + 
>> numerous shells on AIX and putty (linux & windows)+numerous shells on AIX) 
>> i though i would ask makers of my favorite shell.

There have been several interesting discussions on this topic, most
centered on Linux:

https://groups.google.com/d/msg/linux.kernel/PYgS2MyNQfw/orRVLXtinOwJ
http://lists.gnu.org/archive/html/bug-readline/2012-07/msg00004.html
http://lists.gnu.org/archive/html/bug-bash/2012-04/msg00065.html
http://lists.gnu.org/archive/html/bug-readline/2013-07/msg00013.html

including the following comment:

"So, after quite a lot of extra hours spent on this, we were able to
track MOST of the breakage to this commit:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f23eb2b2b28547fc70df82dd5049eb39bec5ba12";

Margarita Manterola and Maximiliano Curia did most of the work; here is
the final summary of their findings (the subsequent thread is interesting
as well):

https://lkml.org/lkml/2013/7/25/205

The question is how to deal with large amounts of data in a situation where
the tty modes keep getting changed after each newline, while preserving
acceptable behavior for the usual case of cooked mode.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]