Re: bash: remove the format string "%q" in the unicode3.sub

2016-08-09 Thread dengke...@windriver.com
Hi chet Thanks for you help. 1. This file: http://git.savannah.gnu.org/cgit/bash.git/tree/tests/unicode3.sub?h=devel&id=74b8cbb41398b4453d8ba04d0cdd1b25f9dcb9e3 When executed to the 3 line: "$payload" On my target the output was: unicode3.sub: line 3: 5�@3�+�S8: command not foun

Re: bash: remove the format string "%q" in the unicode3.sub

2016-08-09 Thread Chet Ramey
On 8/9/16 3:18 AM, dengke...@windriver.com wrote: > Hi all > > When I run the tests for the bash, the sub-test unicode3.sub of intl.tests > failed. > > The sub-test unicode3.sub contain the following: > > payload=$'\065\247\100\063\231\053\306\123\070\237\242\352\263' > "$payload" >

Re: Bash crashes while handling very long string in parameter expansion

2016-08-09 Thread Chet Ramey
On 8/9/16 5:46 AM, Siteshwar Vashisht wrote: > Bash Version: 4.4 > Patch Level: 0 > Release Status: rc2 > > Description: > Bash crashes while handling very long string in parameter expansion. You exceed the hard resource limit for your data segment size, and either the kernel kills the p

bash: remove the format string "%q" in the unicode3.sub

2016-08-09 Thread dengke...@windriver.com
Hi all When I run the tests for the bash, the sub-test unicode3.sub of intl.tests failed. The sub-test unicode3.sub contain the following: payload=$'\065\247\100\063\231\053\306\123\070\237\242\352\263' "$payload" printf %q "$payload" In this situation, the format string "%q" in

Bash crashes while handling very long string in parameter expansion

2016-08-09 Thread Siteshwar Vashisht
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-unknown-linux-gnu' -DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/local/share