Bug 9171

Summary: Segmentation fault in less when pressing closing bracket key
Product: Busybox Reporter: simon.guilliams
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: busybox-cvs, simon.guilliams
Priority: P5    
Version: 1.22.x   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
Host: Target:
Build:

Description simon.guilliams 2016-08-15 14:49:34 UTC
Hi,

I think I have found a bug that is extremely simple to reproduce.

$ echo "" | busybox less

Then press the ')' key on your keyboard. Just this raises a segfault.

Can you confirm this is an unexpected behavior ?

Some additional information :
$ uname -a
Linux my-pc 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
$ busybox
BusyBox v1.22.1 (Ubuntu 1:1.22.0-15ubuntu1) multi-call binary. [...]

Thank you
Comment 1 Denys Vlasenko 2016-08-16 13:29:55 UTC
Fixed in git, thanks.