Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #11333

segfault when indirectly expanding negative numbers

From isabella parakiss <izaberina@gmail.com>
Newsgroups gnu.bash.bug
Subject segfault when indirectly expanding negative numbers
Date 2015-08-12 21:52 +0200
Message-ID <mailman.8222.1439409126.904.bug-bash@gnu.org> (permalink)

Show all headers | View raw


Bash segfaults when trying to do this: x=-3; echo ${!x}
Here's the backtrace from gdb: https://gist.github.com/306f16a358527b267a1e
It looks like the problem is the savestring macro when ind is negative.


---
xoxo iza

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

segfault when indirectly expanding negative numbers isabella parakiss <izaberina@gmail.com> - 2015-08-12 21:52 +0200

csiph-web