bug-bash
[Top][All Lists]
Advanced

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

bash crashes when the REPLY variable is read only and the 'select' built


From: Etherial Raine
Subject: bash crashes when the REPLY variable is read only and the 'select' builtin is used.
Date: Wed, 14 Jan 2015 13:10:15 -0500

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/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H   -I.  -I../. -I.././include -I.././lib  -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall
uname output: Linux larnica 3.13.0-43-generic #72-Ubuntu SMP Mon Dec 8 19:35:06 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu

Bash Version: 4.3
Patch Level: 11
Release Status: release

Description:
        Using select after making the variable 'REPLY' readonly via 'readonly REPLY', bash will crash.

Repeat-By:
          
----- snapshot starts -----

address@hidden:~$ exec /usr/bin/env -i /bin/bash --norc
bash-4.3$ readonly REPLY
bash-4.3$ select TEST_VALUE in TEST_ITEM1 TEST_ITEM2 TEST_ITEM3; do echo "Result: $TEST_VALUE"; break; done
1) TEST_ITEM1
2) TEST_ITEM2
3) TEST_ITEM3
#? 1
bash: REPLY: readonly variable


Warning: Program '/bin/bash' crashed.

----- snapshot finish -----


reply via email to

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