This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cygwin64 info.exe Exception: STATUS_ACCESS_VIOLATION if no info file found
- From: Brian Inglis <Brian dot Inglis at SystematicSw dot ab dot ca>
- To: cygwin at cygwin dot com
- Date: Sat, 9 Nov 2013 10:42:16 +0000 (UTC)
- Subject: Re: cygwin64 info.exe Exception: STATUS_ACCESS_VIOLATION if no info file found
- Authentication-results: sourceware.org; auth=none
- References: <loom dot 20131031T214224-280 at post dot gmane dot org> <loom dot 20131105T202308-343 at post dot gmane dot org>
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