bug-bash
[Top][All Lists]
Advanced

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

segfault after disabling a loadable builtin


From: izaberina
Subject: segfault after disabling a loadable builtin
Date: Tue, 07 Jul 2015 22:25:55 +0200
User-agent: mail v14.8.2

The mypid loadable in the examples directory sets a dynamic variable.
Bash segfaults if you reference it after using enable -d enable_mypid.

$ enable -f ./mypid enable_mypid
$ enable_mypid
$ enable -d enable_mypid
$ echo $MYPID
Segmentation fault (core dumped)

enable should keep track of the dynamic variables it sets and unset them
when using dlclose().



---
xoxo iza



reply via email to

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