Bug 9171 - Segmentation fault in less when pressing closing bracket key
Summary: Segmentation fault in less when pressing closing bracket key
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.22.x
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-15 14:49 UTC by simon.guilliams
Modified: 2016-08-16 13:29 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.