On 30.08.2020 16:50, Greg Wooledge wrote:
> The evil thing here is code injection. Obviously eval is one way to
> perform code injection, but it's not the *only* way. Eval itself isn't
> evil; if anything, it's all of the other forms of code injection,
> which people don't suspect, that are tr
2020-08-31 10:36 Koichi Murase :
> Description:
>
> In the devel branch (e4d38c2d: commit bash-20200819 snapshot), a
> segmentation fault occurs when a prompt command stored in the array
> version of PROMPT_COMMAND unsets the corresponding element in
> PROMPT_COMMAND.
I'm sorry, but I forg
Hi, I hit a segmentation fault with the array PROMPT_COMMAND. Here is
the report and a patch. There is also another trivial patch.
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -march=native -O3
uname output: Li
2020-08-30 19:24 Binarus :
> Actually, this is what first happened to me and what led me to the
> problem described in my original post.
>
> [...]
Thank you for your explanation! Now I see your situation.
>> * Another way is to copy to the local array only when the name is
>> different from `my
On Sun, Aug 30, 2020 at 12:24:03PM +0200, Binarus wrote:
> On 30.08.2020 02:59, Koichi Murase wrote:
> > * Another way is to copy to the local array only when the name is
> > different from `myArray':
> >
> > function Dummy {
> > [[ $1 == myArray ]] ||
> > eval "local -a myArray=(\"\
On 30.08.2020 02:59, Koichi Murase wrote:
> 2020-08-29 14:46 Binarus :
>> I am wondering when debian will include bash 5.1. It looks like
>> debian testing and debian unstable are on bash 5.0, so it will
>> probably take several years.
>
> Actually the problem of the function `Dummy' will not be
Date:Sat, 29 Aug 2020 22:08:14 -0400
From:Bruce Lilly
Message-ID:
| dash also doesn't have adequate pattern matching for the example
| task (building a path while ensuring no empty components); it
| has no way to specify one-or-more (or zero-or-more) occurrenc
On Sat, Aug 29, 2020 at 11:13 PM Bruce Lilly wrote:
> It's a bit more complicated than that; if, for example, some excerpt ended
> up in regression tests, there would be a question about whether or not
> there was a copyright violation. As I understand the GPL (IANAL), it
> requires all parts of