[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash encountered a coredump issue with stepping on memory
From: |
Chet Ramey |
Subject: |
Re: bash encountered a coredump issue with stepping on memory |
Date: |
Fri, 8 Dec 2023 16:34:16 -0500 |
User-agent: |
Mozilla Thunderbird |
On 12/6/23 4:28 AM, wang yuhang wrote:
> The initialize_shell_variables function is processing env. When the for
loop
> reaches env[16], glibc needs to use the main_arena.top variable.
However, the
> value in the address pointed to by the top variable is overwritten by
env[15],
> causing a glibc exception and resulting in a coredump
When the for loop reaches env, the values of each env are:
Is this at the same point as the core dump in your previous message?
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc
Description: OpenPGP digital signature