On 10/30/20 1:41 PM, Bernhard Übelacker wrote:

> Bash Version: 5.1
> Patch Level: 0
> Release Status: rc1
> 
> 
> 
> Description:
> 
>     Dear Maintainer,
>     I tried to collect some more information for the bug described in [1]
>     and could reproduce the crash just by repeating the given commands
>     in a minimal debian testing qemu VM. Backtrace in [2].
>     The last bash version where the crash did not manifest was bash_5.0-7.
> 
>     In #972672 the last message mentions also wdequote_pathname and
>     wcsrtombs, therefore I guess this might be related.
> 
>     As wcsrtombs[3] is specified to set under certain circumstances *src to 
> NULL,
>     I assume in this line [4] wpathname should not get dereferenced, or
>     at least just after being checked for a non-NULL value.

Thanks for the report and the pointer to a fix.

Chet

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

Reply via email to