From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Scott McPeak Newsgroups: gmane.lisp.guile.bugs Subject: [bug #27574] scm_to_sockaddr mishandles IPv6 addresses Date: Thu, 01 Oct 2009 21:06:35 +0000 Message-ID: <20091001-210634.sv54812.85225@savannah.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=UTF-8 X-Trace: ger.gmane.org 1254431215 4576 80.91.229.12 (1 Oct 2009 21:06:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Oct 2009 21:06:55 +0000 (UTC) To: Scott McPeak , bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Oct 01 23:06:48 2009 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MtSrO-0004mG-8w for guile-bugs@m.gmane.org; Thu, 01 Oct 2009 23:06:46 +0200 Original-Received: from localhost ([127.0.0.1]:59200 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MtSrN-0005Ow-Pi for guile-bugs@m.gmane.org; Thu, 01 Oct 2009 17:06:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MtSrJ-0005OP-OE for bug-guile@gnu.org; Thu, 01 Oct 2009 17:06:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MtSrF-0005NO-4y for bug-guile@gnu.org; Thu, 01 Oct 2009 17:06:41 -0400 Original-Received: from [199.232.76.173] (port=33122 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MtSrF-0005NK-2G for bug-guile@gnu.org; Thu, 01 Oct 2009 17:06:37 -0400 Original-Received: from savannah.gnu.org ([199.232.41.3]:51509 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MtSrE-0000L8-J8 for bug-guile@gnu.org; Thu, 01 Oct 2009 17:06:36 -0400 Original-Received: from [10.0.0.103] (helo=savannah.gnu.org) by sv.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1MtSrD-0001Wx-Vy; Thu, 01 Oct 2009 21:06:36 +0000 Original-Received: from www-data by savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1MtSrD-0001Wu-S4; Thu, 01 Oct 2009 21:06:35 +0000 X-Savane-Server: savannah.gnu.org:443 [10.0.0.103] X-Savane-Project: guile X-Savane-Tracker: bugs X-Savane-Item-ID: 27574 User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 X-Apparently-From: 38.99.3.113 (Savane authenticated user smcpeak) Original-References: In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:4329 Archived-At: URL: Summary: scm_to_sockaddr mishandles IPv6 addresses Project: Guile Submitted by: smcpeak Submitted on: Thu 01 Oct 2009 09:06:34 PM GMT Category: None Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: The 'scm_to_sockaddr' function does not handle IPv6 address correctly; it tries to treat the whole sockaddr vector as the integer IP address. Consequently, Guile-1.8.7 cannot speak IPv6. Full details including testcase and proposed patch: http://lists.gnu.org/archive/html/bug-guile/2009-09/msg00022.html _______________________________________________________ Reply to this item at: _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/