bug-bash
[Top][All Lists]
Advanced

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

integer variable that unsets itself causes segfault


From: Oğuz
Subject: integer variable that unsets itself causes segfault
Date: Fri, 8 Aug 2025 22:14:36 +0300

See:

    $ declare -i x
    $ x='a[${ unset x;}]'
    Segmentation fault

This shouldn't even be an error; if it has to be it should be handled
by bash not the host system

Oğuz



reply via email to

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