[Python-bugs-list] [ python-Bugs-768307 ] ssl socket seg fault in Python2.3b2

SourceForge.net noreply@sourceforge.net
Wed, 09 Jul 2003 05:49:05 -0700


Bugs item #768307, was opened at 2003-07-09 04:29
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=768307&group_id=5470

>Category: Extension Modules
Group: Python 2.3
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Matthew Russell (mattsurf76)
>Assigned to: Neal Norwitz (nnorwitz)
Summary: ssl socket seg fault in Python2.3b2

Initial Comment:
Hi,

not sure this is a critical error:-

if an unconnected socket is passed to socket.ssl this
causes a segmenation fault on RedHat 8.

from socket import *
s=socket()
#s.connect((url, 443))
s2=ssl(s, None, None)
(exits to cmd line with seg fault message)

Obvioiusly one would never want to do this!


Matt


----------------------------------------------------------------------

>Comment By: Neal Norwitz (nnorwitz)
Date: 2003-07-09 08:49

Message:
Logged In: YES 
user_id=33168

This should be fixed in version 1.13 of Modules/_ssl.c. 
Please test from CVS to verify.

Should also be duplicate of #754870.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=768307&group_id=5470