[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash decode prompt string broken for 'W'

From: Chet Ramey
Subject: Re: bash decode prompt string broken for 'W'
Date: Mon, 4 Apr 2011 08:15:47 -0400

> Configuration Information [Automatically generated, do not change]:
> Machine: x86_64
> OS: linux-gnu
> Compiler: gcc
> Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
> -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu'
> -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/shar
> uname output: Linux gohan 2.6.37-2-amd64 #1 SMP Sun Feb 27 10:12:22
> UTC 2011 x86_64 GNU/Linux
> Machine Type: x86_64-pc-linux-gnu
> Bash Version: 4.1
> Patch Level: 5
> Release Status: release
> Description:
> The "\W" escape in the prompt is expanded incorrectly for some
> directories.  The problem is caused by the use of strcpy with
> overlapping strings; but strcpy has undefined behaviour when the
> strings overlap.

Upgrade.  This is fixed by bash-4.1 patch 10.


``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]