Brian Inglis <Brian.Inglis <at> SystematicSw.ab.ca> writes:

Found problem in man.c line 342 passing NULL manpage_section pointer to
strlen() below. 

Patched by upstream in rev 4901:
http://svn.savannah.gnu.org/viewvc?view=rev&root=texinfo&revision=4901
support for MS-Windows screen and keyboard in Info, from eliz

Options are to apply that patch, or upgrade to 5.0, .1, or .2 (current).


     1  /*  man.c: How to read and format man files.
     2      $Id: man.c,v 1.14 2008/06/28 08:09:32 gray Exp $

     20    Originally written by Brian Fox Thu May  4 09:17:52 1995. */

   336  #else  /* !PIPE_USE_FORK */
   337    /* Cannot fork/exec, but can popen/pclose.  */
   338    {
   339      FILE *fpipe;
   340      char *cmdline = xmalloc (strlen (formatter_args[0])
   341                               + strlen (manpage_pagename)
   342                               + (arg_index > 2 ? strlen 
(manpage_section) : 0)
   343                               + 3);



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to