]> err.no Git - util-linux/commit
pg: fix segfault on search
authorRajeev V. Pillai <rajeevvp@gmail.com>
Wed, 3 Oct 2007 20:39:27 +0000 (22:39 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 3 Oct 2007 20:39:27 +0000 (22:39 +0200)
commit2b00dd6d5491c31434e08434844d068e2aca5f0d
tree0c7d0d3a4db16bd8696e161ef647313e3c1027ea
parent0901c3a4670b8d32c2668b1612cc0fad2a33ce14
pg: fix segfault on search

Run pg(1) and type '/<CR>' which is supposed to forward search for the
previously remembered search string. pg(1) will segfault after printing
"No remembered search string:".

Signed-off-by: Rajeev V. Pillai <rajeevvp@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/mkfs.cramfs.c
text-utils/pg.c