]> 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>
Thu, 4 Oct 2007 13:37:52 +0000 (15:37 +0200)
commit66a3320b78cb7155c95451292f73501fea739a18
treebb2f95761c676def31232d6056d6a3efa20213f8
parentc425877ac050d59c92577b20c5a2dee0412e67e9
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