Bug 164465

Summary: kermit bombs when trying to ssh
Product: [Fedora] Fedora Reporter: Jason Duerstock <jason>
Component: ckermitAssignee: Peter Vrabec <pvrabec>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
URL: http://zeniv.linux.org.uk/~moo/bug1.html
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-08-01 12:46:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
I suggest to use openpty library. see #156417 none

Description Jason Duerstock 2005-07-28 01:09:04 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

Description of problem:
kermit bombs when trying to open ssh.  After further analysis, the problem comes up because there is no prototype for ptsname().  It should be included from <stdlib.h> but isn't because _XOPEN_SOURCE isn't #defined.  I'm not sure of the cleanest way to patch this because -D_XOPEN_SOURCE breaks some of the other source when you define it globally.  Another alternative is to make it use ttyname() instead of ptsname() but I'm not sure how to weave the #defines to make that happen.

Version-Release number of selected component (if applicable):
ckermit-8.0.211-1

How reproducible:
Always

Steps to Reproduce:
1. run kermit
2. ssh to localhost
3. wait for smoking ruin
  

Actual Results:  segmentation fault

Expected Results:  successful ssh connection

Additional info:

Comment 1 Peter Vrabec 2005-07-29 10:19:16 UTC
Created attachment 117266 [details]
I suggest to use openpty library. see #156417

Comment 2 Peter Vrabec 2005-08-01 12:46:16 UTC
FC4 update(ckermit-8.0.211-2.FC4) comming soon.