Bug 17027

Summary: IgnoreUserKnownHosts thinks it takes in int in OpenSSH.
Product: Base System Reporter: dwmalone <dwmalone>
Component: binAssignee: Sheldon Hearn <sheldonh>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description dwmalone 2000-02-27 22:10:39 UTC
>Number:         17027
>Category:       bin
>Synopsis:       IgnoreUserKnownHosts thinks it takes in int in OpenSSH.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 27 14:20:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     David Malone
>Release:        FreeBSD 4.0-CURRENT
>Organization:
School of Mathematics, Trinity College, Dublin, Ireland.
>Environment:

4.0 with imported version of OpenSSH as of yesterday.

>Description:

If you add a line saying:

	IgnoreUserKnownHosts yes

or, indeed,

	IgnoreUserKnownHosts no

sshd says:

	/etc/ssh/sshd_config line 9: invalid integer value.

>How-To-Repeat:

See above.

>Fix:

--- servconf.c.orig     Sun Feb 27 22:03:59 2000
+++ servconf.c  Sun Feb 27 22:04:42 2000
@@ -410,7 +410,7 @@
 
                case sIgnoreUserKnownHosts:
                        intptr = &options->ignore_user_known_hosts;
-                       goto parse_int;
+                       goto parse_flag;
 
                case sRhostsAuthentication:
                        intptr = &options->rhosts_authentication;


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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Comment 1 dwmalone 2000-02-27 22:20:00 UTC
If you add a line saying:

	IgnoreUserKnownHosts yes

or, indeed,

	IgnoreUserKnownHosts no

sshd says:

	/etc/ssh/sshd_config line 9: invalid integer value.

How-To-Repeat: 
See above.
Comment 2 Steve Price freebsd_committer freebsd_triage 2000-02-28 00:15:21 UTC
Responsible Changed
From-To: freebsd-bugs->markm

Mark has been handling the OpenSSH commits. 
Comment 3 Sheldon Hearn freebsd_committer freebsd_triage 2000-03-22 09:40:10 UTC
Responsible Changed
From-To: markm->sheldonh

I'll take this one.  Mark doesn't need to vet every trivial fix, 
especially when the fix matches what's been done in OpenBSD. 
:-) 
Comment 4 Sheldon Hearn freebsd_committer freebsd_triage 2000-03-22 09:40:59 UTC
State Changed
From-To: open->closed

Thanks, Mr. Malone. :-) 

Committed as rev 1.4 of servconf.c and merged onto the RELENG_4 branch 
as rev 1.3.2.1.