On Tue, Jun 13, 2023, 22:21 Chet Ramey wrote:
> The latest push to the devel branch extends the assoc_expand_once
> semantics to indexed array variables. This means that a construct
> like
>
> export subscript='$(uname >&2 ; echo 0)'
> shopt -s assoc_expand_once
> printf -v a["$subscript"] %s hi
On Sat, Jun 17, 2023 at 09:09:23AM +0530, LitHack wrote:
> Running the yes command in command substitution will crash the linux shell.
Not surprising, really. You're trying to capture and store an
infinite number of bytes in memory. Eventually, either the malloc is
going to fail due to lack of v
> On Jun 16, 2023, at 11:39 PM, LitHack wrote:
>
> -- Forwarded message -
> From: LitHack
> Date: Sat, 17 Jun 2023 at 08:52
> Subject: Crashing the Linux System
> To:
>
>
> Running the yes command in command substitution will crash the linux shell.
> According to me inside com
On Sat, Jun 17, 2023, 15:06 LitHack wrote:
> -- Forwarded message -
> From: LitHack
> Date: Sat, 17 Jun 2023 at 08:52
> Subject: Crashing the Linux System
> To:
>
>
> Running the yes command in command substitution will crash the linux shell.
> According to me inside command the
-- Forwarded message -
From: LitHack
Date: Sat, 17 Jun 2023 at 08:52
Subject: Crashing the Linux System
To:
Running the yes command in command substitution will crash the linux shell.
According to me inside command the substitution it is creating multiple
process(fork). Command
On Sat, Jun 17, 2023, 14:46 Dennis Williamson
wrote:
>
>
> On Sat, Jun 17, 2023, 6:59 AM alex xmb ratchev wrote:
>
>> On Thu, Jun 15, 2023, 20:40 alex xmb ratchev wrote:
>>
>> >
>> >
>> > On Thu, Jun 15, 2023, 15:06 Chet Ramey wrote:
>> >
>> >> On 6/14/23 5:18 PM, alex xmb ratchev wrote:
>> >>
On Sat, Jun 17, 2023, 6:59 AM alex xmb ratchev wrote:
> On Thu, Jun 15, 2023, 20:40 alex xmb ratchev wrote:
>
> >
> >
> > On Thu, Jun 15, 2023, 15:06 Chet Ramey wrote:
> >
> >> On 6/14/23 5:18 PM, alex xmb ratchev wrote:
> >>
> >> > [[ -v a["$subscript"] ]]
> >>
> >
> a small question about
On Thu, Jun 15, 2023, 20:40 alex xmb ratchev wrote:
>
>
> On Thu, Jun 15, 2023, 15:06 Chet Ramey wrote:
>
>> On 6/14/23 5:18 PM, alex xmb ratchev wrote:
>>
>> > [[ -v a["$subscript"] ]]
>>
>
a small question about that .. do the quotes matter ?
>
>> > is already an arithmetic expansion
When readline's display of completion matches is interrupted, the match
list is only freed for the '?' completion type but not for '!' and '@'
types. I couldn't find a specific reason for that to be the case so
hope this patch is an OK fix.
Also add freeing saved_line_buffer from rl_complete_inte
Found mostly by normal usage running a no-bash-malloc build with clang's
LeakSanitizer enabled. So far seems to provide very accurate results with
little overhead.
* arrayfunc.c
- quote_compound_array_word: make sure to free VALUE
- bind_assoc_var_internal: if assigning to a dynamic variable, make
10 matches
Mail list logo