Re: [Bug 1857826] [NEW] mksh ASAN heap-buffer-overflow

2019-12-29 Thread Martijn Dekker
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

[Bug 1857826] [NEW] mksh ASAN heap-buffer-overflow

2019-12-29 Thread Fernando Muñoz
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 ]]