Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jun 2000 16:50:56 -0500 (EST)
From:      "Kevin T. Likes" <klikes@isd.state.in.us>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/19448: filename input broken
Message-ID:  <200006222150.QAA51265@jaka.isd.state.in.us>

next in thread | raw e-mail | index | archive | help

>Number:         19448
>Category:       ports
>Synopsis:       filename input broken
>Confidential:   yes
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 22 15:00:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Kevin T. Likes
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
>Environment:


>Description:

gnuan program (comes with gnuchess) has been patched to use fgets instead of gets.  Unfortunately
this means it cannot open any filename not ending in a newline.

gnuchess-4.0.pl80

>How-To-Repeat:

Compile and run gnuan.  Give any (readable) filename.  It will die when it attempts to open it.

>Fix:
	
1) Keep using gets (program is not setuid).
2) Hunt down errant newlines in filename.

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006222150.QAA51265>