Marc Herbert wrote:

>  - removing the "-t" option from "read" dodges the immediate crash, but
>    not the memory corruption? So bash might still crash later?
> 
>  - in other words, triggering a trap from a command expansion will
>    always corrupt memory? (I mean: without your recent fix)

It is the specific combination of the assignment statement whose rhs
contains a command substitution which causes a trap to be executed
by the parent shell.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/


Reply via email to