less: fix SEGV
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 16 Aug 2016 13:09:40 +0000 (15:09 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 16 Aug 2016 13:09:40 +0000 (15:09 +0200)
commit252559601f12e22ad3a687fb8188fdbf63bbdc45
tree534d9090163e81f88a1f561150683aa6860daa13
parent560cf8c7ebd3feff6244a381a300cb2bac8570ec
less: fix SEGV

testcase: echo "" | less, then press ')' key

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
miscutils/less.c