On Tue, Apr 16, 2024 at 04:07:06PM +0000, Laurent Bercot wrote:
> > Running backtick with gdb reveals that the crash is caused by the
> > `memcpy' at line 63 of src/libexecline/el_modifs_and_exec.c
> 
>  Thanks for doing my work for me :D
>  (these are the bugs I usually catch before release, but, laziness.)
> 
>  The latest execline git head should fix it. If it works for you,
> I'll cut the 2.9.5.1 release.
> 
> --
>  Laurent
> 

I can confirm that the patch worked:

  $ ./backtick -E z ' echo' ' hi' ''
  backtick: fatal: the command line after the block must not be empty

  $ ./backtick -E A_LONGISH_NAME ' s6-echo' ' foo' '' echo 
'$A_LONGISH_NAME$A_LONGISH_NAME'
  foofoo
  $ ./backtick -E z ' echo' ' hi' '' echo '$z$z'
  hihi

o/
 emanuele6

Reply via email to