Re: Integer overflow in command substitution

2017-11-16 Thread Eduardo A . Bustamante López
On Thu, Nov 16, 2017 at 06:50:59AM -0500, Siteshwar Vashisht wrote: [...] > Bash Version: 4.4 > Patch Level: 12 > Release Status: release > > Repeat-By: > $ bash -c 'true $(yes )' > bash: xrealloc: cannot allocate 18446744071562067968 bytes Interesting! I think thi

Integer overflow in command substitution

2017-11-16 Thread Siteshwar Vashisht
Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-redhat-linux-gnu' -DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I