[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reproducible SIGSEGV in bash 4.2 caused by alias.
From: |
Andreas Schwab |
Subject: |
Re: Reproducible SIGSEGV in bash 4.2 caused by alias. |
Date: |
Thu, 10 Oct 2013 11:38:47 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
"Oliver J. Morais" <oliver.morais@gmail.com> writes:
> Playing around with aliases, I stumbled over the following:
> $ alias alias="eval alias"
> $ alias foo=bar
You have created an infinite recursion, same as f() { f; }; f.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."