Bug 164465 - kermit bombs when trying to ssh
kermit bombs when trying to ssh
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: ckermit (Show other bugs)
4
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Peter Vrabec
http://zeniv.linux.org.uk/~moo/bug1.html
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-07-27 21:09 EDT by Jason Duerstock
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-08-01 08:46:16 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
I suggest to use openpty library. see #156417 (4.62 KB, application/octet-stream)
2005-07-29 06:19 EDT, Peter Vrabec
no flags Details

  None (edit)
Description Jason Duerstock 2005-07-27 21:09:04 EDT
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 06:19:16 EDT
Created attachment 117266 [details]
I suggest to use openpty library. see #156417
Comment 2 Peter Vrabec 2005-08-01 08:46:16 EDT
FC4 update(ckermit-8.0.211-2.FC4) comming soon.

Note You need to log in before you can comment on or make changes to this bug.