Re: strcpy of overlapping memory ranges in prompt expansion

2013-07-04 Thread Chet Ramey
On 7/3/13 4:06 PM, si...@hitzemann.org wrote: > Bash Version: 4.2 > Patch Level: 45 > Release Status: release > > Description: > When using \w in the prompt and changing the directory outside of HOME > bash crashes with an abort trap. > strcpy(3) say src and dst must not o

strcpy of overlapping memory ranges in prompt expansion

2013-07-03 Thread simon
Configuration Information [Automatically generated, do not change]: Machine: i386 OS: darwin13.0.0 Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' -DCONF_OSTYPE='darwin13.0.0' -DCONF_MACHTYPE='i386-apple-darwin13.0.0' -DCONF_VENDOR='apple' -DLOCALEDIR='/usr/local/share/