[Net-ssleay-devel] segfault in Net:SSLeay (fwd)

sampo at symlabs.com sampo at symlabs.com
Fri Dec 9 15:06:30 UTC 2005


The Net::SSLeay maintenance happens at 

net-ssleay-devel at lists.alioth.debian.org 

and 

http://alioth.debian.org/projects/net-ssleay/ 

 --Sampo
....................................................................
Sampo Kellomaki ---> Chief Architect ---> DirectoryScript
M: +351-918.731.007  F: +351-213.422.185  W: www.symlabs.com
Customize directories -> LDAP SOAP Liberty SIP -> Directory Extender 

 ---------- Forwarded message ----------
Delivered-To: sampo at mercnet.pt
Return-Path: <techie at Xtrmntr.org>
Received: from directoryscript.org (softdnserr [::ffff:205.134.182.51])
 by mail2.mercnet.pt with esmtp; Fri, 09 Dec 2005 06:07:31 +0000
Received: (qmail 2817 invoked by uid 107); 9 Dec 2005 07:22:24 -0500
Delivered-To: directoryscript.org-sampo at symlabs.com
Received: (qmail 2814 invoked by uid 107); 9 Dec 2005 07:22:24 -0500
Delivered-To: directoryscript.org-netssleay at symlabs.com
Received: (qmail 2812 invoked from network); 9 Dec 2005 07:22:24 -0500
Received: from mx.expurgate.net (195.190.135.20)
 by ftp52.directoryscript.org with SMTP; 9 Dec 2005 07:22:24 -0500
Received: from mx.expurgate.net(helo=mx.expurgate.net)
	by mx.expurgate.net with esmtp
	id 1EkhGa-0004nQ-00
	for netssleay at symlabs.com; Fri, 09 Dec 2005 13:22:24 +0100
Received: from [147.175.66.205] (helo=otaku.Xtrmntr.org)
	by mx.expurgate.net with esmtp (Exim 3.36 #22)
	id 1EkhGY-0007pg-00
	for netssleay at symlabs.com; Fri, 09 Dec 2005 13:22:22 +0100
Received: by otaku.Xtrmntr.org (Postfix, from userid 213)
	id A4C3F4A68; Fri,  9 Dec 2005 13:22:22 +0100 (CET)
Resent-From: techie at otaku.xtrmntr.org
Resent-Date: Fri, 9 Dec 2005 13:22:22 +0100
Resent-Message-ID: <20051209122222.GA18433 at otaku.xtrmntr.org>
Resent-To: netssleay at symlabs.com
Received: by otaku.Xtrmntr.org (Postfix, from userid 777)
	id E29C14A6B; Fri,  9 Dec 2005 10:56:20 +0100 (CET)
Received: from m4.vol.cz (m4.vol.cz [195.250.128.74])
	by otaku.Xtrmntr.org (Postfix) with ESMTP id B81CB4A69
	for <techie at xtrmntr.org>; Fri,  9 Dec 2005 10:56:19 +0100 (CET)
Received: from otaku.Xtrmntr.org (sauna.silcnet.org [147.175.66.205])
	by m4.vol.cz (Postfix) with ESMTP id A1418261D3
	for <vlada at devnull.cz>; Fri,  9 Dec 2005 10:56:19 +0100 (CET)
Received: by otaku.Xtrmntr.org (Postfix, from userid 213)
	id 894544A64; Fri,  9 Dec 2005 10:56:19 +0100 (CET)
Date: Fri, 9 Dec 2005 10:56:19 +0100
From: Vladimir Kotal <vlada at devnull.cz>
To: sampo at symlabs.com
Cc: Vladimir Kotal <vlada at devnull.cz>
Subject: segfault in Net:SSLeay
Message-ID: <20051209095619.GA17738 at otaku.xtrmntr.org>
Reply-To: vlada at devnull.cz
Mime-Version: 1.0
Content-Type: multipart/mixed; 
boundary="=_mail2.mercnet.pt-5167-1134108452-0001-2"
Content-Disposition: inline
Accept-Languages: cz, sk, en
User-Agent: Mutt/1.5.10i
X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on otaku.Xtrmntr.org
X-Spam-Level:
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham
	version=3.0.4
X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eXpurgate.net
X-purgate: This mail is considered clean     (see 
http://www.eXpurgate.net/support/expurgate/headers/ for details)
X-purgate: clean
X-purgate-ID: expurgator15/1EkhGY-0007pg-00/648163567-0/0-1
X-purgate-size: 2796/330 


Hello, 

While experimenting with Net::SSL I have detected a segfault when
Net::SSLeay::set_verify($ssl, ...) was called before $ssl was created via
Net::SSLeay::new($ctx). This is not proper usage, but should not produce
segfault anyway. 

for demonstration, see attached code (modified client from examples). 

Best regards, 


V. Kotal 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ssl-cert-verify.pl
Type: application/x-perl
Size: 1979 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/net-ssleay-devel/attachments/20051209/132dbbc5/ssl-cert-verify.bin


More information about the Net-ssleay-devel mailing list