Vulnerability Development mailing list archives

Re: man -K overflow


From: Thomas Cannon <root () NOOPS ORG>
Date: Mon, 19 Feb 2001 12:42:27 -0800

On Mon, 19 Feb 2001, Enrique Maglietta wrote:

Results on SuSE 7.0 , no problem.

linux:~ # man -k `perl -e '{print "A"x"8285"}'`
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

<snipped 8000 chars>

I see you typed "-k" and not "-K" ... I'm not professing to know that
there's a difference in what the flags do based on case, but I'd guess
that this would indicate it (although this isn't on SuSE):

       -k     Equivalent to apropos.

       -K     Search for the specified string in *all* man pages.
              Warning:  this  is  probably very slow! It helps to
              specify a section.  (Just to give a rough idea,  on
              my  machine  this  takes about a minute per 500 man
              pages.)

Cheers,

tcannon


Current thread: