Bug#831672: screen: segfault on digraph

2016-08-05 Thread Axel Beckert
Hi, Thorsten Glaser wrote: > On Thu, 4 Aug 2016, Jan Nordholz wrote: > (I’ll test it once XTaran’s updated package hits sid). Works for me on amd64 at least. Expect the updated package within the next few days. I've also cherry-picked another crash fix from upstream which is related to the new

Bug#831672: screen: segfault on digraph

2016-08-05 Thread Thorsten Glaser
On Thu, 4 Aug 2016, Jan Nordholz wrote: > Quick fix for users: initialize argl[1] by instead doing Thanks, this indeed works around it on amd64: | bind u digraph 'U+' '' > Suggested code fix: RC_DIGRAPH should probably check that args[1] != > NULL before checking argl[1] > 0 (because the latter

Bug#831672: screen: segfault on digraph

2016-08-04 Thread Axel Beckert
Hi Jan, Jan Nordholz wrote: > Adding a patch suggestion for completeness... Thanks a lot for the patch. Will prepare an updated package soon. Regards, Axel -- ,''`. | Axel Beckert , http://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' |

Bug#831672: screen: segfault on digraph

2016-08-04 Thread Jan Nordholz
tags 831672 +patch thankyou Adding a patch suggestion for completeness... Jan Description: Fixes broken handling of "bind u digraph U+", resulting in a SIGSEGV instead of prompting for the remainder. Also fixes an allocation inaccuracy I found while debugging this, even though that one looks i

Bug#831672: screen: segfault on digraph

2016-08-04 Thread Jan Nordholz
Hi, the bug exists because screen's "struct action" provides no explicit way to store the number of arguments, and doing bind u digraph U+ results in act->args being allocated for two "char *"s (including a terminating NULL), but act->argl only for one int... by the way, both allocations

Bug#831672: screen: segfault on digraph

2016-07-27 Thread Thorsten Glaser
Oh, fun. This works now on x32, but still segfaults on amd64. Both sid as of about one hour ago. bye, //mirabilos -- tarent solutions GmbH Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/ Tel: +49 228 54881-393 • Fax: +49 228 54881-235 HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941 Geschäf

Bug#831672: screen: segfault on digraph

2016-07-18 Thread Thorsten Glaser
Package: screen Version: 4.4.0-3 Severity: normal cat >.screenrc bind u digraph U+ ^D screen ^Au … leads to… [screen caught signal 11. (core dumped)] Getting a backtrace is unfortunately not as easy, but with sudo gdb screen I can at least get it interactively. (gdb) bt #0 0x7fe709acde10