Op 29-12-19 om 19:20 schreef Fernando Muñoz:
When compiling mksh with ASAN and running [[ -v $XX ]] ($XX being an
undefined environment variable) mksh will crash.
Of course it shouldn't crash, but it's worth noting that the correct
form is [[ -v XX ]] without the dollar sign (signifying the ex
Public bug reported:
When compiling mksh with ASAN and running [[ -v $XX ]] ($XX being an
undefined environment variable) mksh will crash.
$ echo $KSH_VERSION
@(#)MIRBSD KSH R57 2019/03/01
$ set | grep XX=
$ [[ -v $XX ]]