After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 574754 - 100% cpu usage when connecting to a ssh key and denying key access
100% cpu usage when connecting to a ssh key and denying key access
Status: RESOLVED FIXED
Product: gvfs
Classification: Core
Component: sftp backend
1.1.x
Other Linux
: Normal normal
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2009-03-10 13:52 UTC by Sebastien Bacher
Modified: 2009-03-10 15:59 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
Handle ssh exiting early during login (616 bytes, patch)
2009-03-10 14:06 UTC, Alexander Larsson
none Details | Review

Description Sebastien Bacher 2009-03-10 13:52:46 UTC
* connect to a ssh server where you can connect by ssh key only (using nautilus or gvfs-mount directly)
* hit enter or esc on the password prompt
* the ssh connection is closed and gvfsd-sftp starts eating cpu
Comment 1 Alexander Larsson 2009-03-10 14:06:43 UTC
Created attachment 130400 [details] [review]
Handle ssh exiting early during login
Comment 2 Alexander Larsson 2009-03-10 15:59:07 UTC
2009-03-10  Alexander Larsson  <alexl@redhat.com>

	Bug 574754 – 100% cpu usage when connecting to a ssh key and denying key access

	* daemon/gvfsbackendsftp.c (read_reply_sync):
	Make sure we handle ssh exiting early.