Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #11334
| From | Chet Ramey <chet.ramey@case.edu> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: segfault when indirectly expanding negative numbers |
| Date | 2015-08-12 16:24 -0400 |
| Message-ID | <mailman.8223.1439411108.904.bug-bash@gnu.org> (permalink) |
| References | <CAAZkfoK5Hibsq55LWU+2arO3=EMwMUFaekRyNJ0pW9by719KGA@mail.gmail.com> |
On 8/12/15 3:52 PM, isabella parakiss wrote:
> 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.
Thanks for the report. This will be fixed in the next version of bash.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/
Back to gnu.bash.bug | Previous | Next | Find similar
Re: segfault when indirectly expanding negative numbers Chet Ramey <chet.ramey@case.edu> - 2015-08-12 16:24 -0400
csiph-web