Bug#973044: posh: segfaults when getcwd fails

2020-11-13 Thread Bernhard Übelacker
Dear Maintainer, this is a backtrace of the crash: (gdb) bt #0 __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:120 #1 0x55a9f3c9e5d0 in set_current_wd (path=) at ../path.c:235 #2 0x55a9f3c906b7 in main (argc=1, argv=0x7fffa8fcd4b8) at ../main.c:196 It

Bug#973044: posh: segfaults when getcwd fails

2020-10-27 Thread Kacper Gutowski
Package: posh Version: 0.14.1 Severity: normal Dear Maintainer, Consider the following: $ mkdir foo $ cd foo $ rmdir ../foo $ posh Memory fault -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (900, 'testing'), (700, 'unstable') Architecture: amd64