Package: less Version: 406-0 Severity: normal I have managed to crash less! I have reduced the crash to this test case:
$ echo $LINES $COLUMNS 30 239 $ echo hello > test $ echo goodbye > test2 $ chmod -r test2 $ less test test2 <now press :n and watch it crash> It seems that when less views a file which does not fill the entire window, followed by pressing ":n" to go to the next file (for which I have no read permission) it segfaults. The following is the end of an ltrace immediately before the crash: open("test2", 0, 041) = -1 __errno_location() = 0x2b851ec26aa8 strerror(13) = "Permission denied" strlen("Permission denied") = 17 strlen("test2") = 3 calloc(23, 1) = 0x627930 snprintf("\001\200\255\373\377\177", 4297040, "\377\377\377\377\377\377\377\377"...) = 22 --- SIGSEGV (Segmentation fault) --- +++ killed by SIGSEGV +++ The strace was uninteresting, as was the gdb backtrace. Hope that's of some use, Bruce --- System information. --- Architecture: amd64 Kernel: Linux 2.6.20 Debian Release: lenny/sid 500 unstable www.debian-multimedia.org 500 unstable ftp.de.debian.org 500 stable www.debian-multimedia.org 1 experimental ftp.de.debian.org --- Package information. --- Depends (Version) | Installed ==========================-+-=========== libc6 (>= 2.5-5) | 2.6-2 libncurses5 (>= 5.4-5) | 5.6-3 debianutils (>= 1.8) | 2.22.1
smime.p7s
Description: S/MIME cryptographic signature