Package: ksh Version: 2020.0.0+really93u+20120801-8 Severity: normal File: /bin/ksh93 X-Debbugs-Cc: t...@mirbsd.de
First reported by CrystalMath <~coderain@reactos/developer/theflash> in IRC: ksh93 -c 'kill %-4' segfaults (confirmed by me on sid) 03:18⎜«CrystalMath:#ksh» hi all, i may have found a bug 03:19⎜«CrystalMath:#ksh» ksh93 in debian crashes when you refer to a non-existent job 03:19⎜«CrystalMath:#ksh» like kill %5 03:19⎜«CrystalMath:#ksh» there's a Memory fault 03:19⎜«CrystalMath:#ksh» kill %-4 works too 03:28⎜«CrystalMath:#ksh» found the bug 03:28⎜«CrystalMath:#ksh» the pointer pw is accessed before it's checked for NULL 03:30⎜«CrystalMath:#ksh» in src/cmd/ksh93/sh/jobs.c The reporter’s frustration with quilt ended up making them decide to not report this to Debian themselves, forwarding thus. This probably also affects at least stable. -- System Information: Debian Release: bullseye/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'oldstable-updates'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.8.0-2-amd64 (SMP w/2 CPU threads) Kernel taint flags: TAINT_WARN Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/lksh Init: sysvinit (via /sbin/init) Versions of packages ksh depends on: ii libc6 2.31-4 ksh recommends no packages. Versions of packages ksh suggests: ii binfmt-support 2.2.1-1 -- no debconf information