Bug#1029150: toilet -E troff: Segmentation fault

2023-02-02 Thread Bernhard Übelacker
#5 export_troff (bytes=0xd438, cv=0x56564ae0) at codec/export.c:1056 Dear Maintainer, this crash happens because the array ansi2troff has just 16 values, but gets accessed at value 32. This value 32 originates from the constant CACA_TRANSPARENT. With the below patch the crash could be

Bug#1029150: toilet -E troff: Segmentation fault

2023-01-18 Thread Jakub Wilk
Package: toilet Version: 0.3-1.4 "toilet -E troff" crashes: $ toilet -E troff foo Segmentation fault Backtrace: #0 __GI_strlen () at ../sysdeps/i386/i586/strlen.S:50 #1 0xf7c5f7a9 in __vfprintf_internal (s=0xd28c, format=0xf7f93ba0 "\\M[%s]", ap=, mode_flags=6) at