Bug 142780 - openssl can take thw whole cpu forever
Summary: openssl can take thw whole cpu forever
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: openssl
Version: 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-12-14 01:18 UTC by Alexandre Strube
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-02-10 09:43:02 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Alexandre Strube 2004-12-14 01:18:53 UTC
Description of problem:
when using the simple script 
#!/bin/sh
echo "GET /update.asp?u=$1&p=$2&cmd=update&set=2&offline=0" | openssl
s_client -quiet -connect www.changeip.com:443 &

to update a dynamic dns, sometimes something wrong can happen (ie
network timeout, connection down, etc).

When this happens, openssl gets stucked, using 100% of cpu resources,
forever. You have to kill it to use the computer again.

Version-Release number of selected component : openssl-0.9.7a-40.src.rpm


How reproducible: Sometimes


Steps to Reproduce:
1. run this script
2. something wrong (which of course I don't know what is) happens
3. openssl keeps up consuming cpu power.
  
Actual results:
top and gnome-system-monitor shows that openssl is using 100% of cpu

Expected results:
an error message, a beep, anything but this :-)

Additional info:

Comment 1 Tomas Mraz 2005-02-10 09:43:02 UTC
openssl s_client is only for debugging purposes, please use a
different https client (curl, ...)

Otherwise, report the bug upstream.



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