[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug in 4.2
From: |
Csaba Toth |
Subject: |
bug in 4.2 |
Date: |
Wed, 29 Jan 2014 12:53:54 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
Hi,
If you set PROMPT_DIRTRIM, in some cases strange output displayed in the
prompt. I found an issue inside the trim_pathname() function, that uses
memcpy() to copy head and tail together. That should not be used if the
memory is overlapped and memmove() shall be used instead.
Please find my enclosed patch.
Have a nice day!
Csaba
bash-4.2.dirtrim.patch
Description: Text Data
- bug in 4.2,
Csaba Toth <=