From owner-freebsd-ports Thu Sep 27 8:10: 9 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 65D7037B50C for ; Thu, 27 Sep 2001 08:10:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f8RFA1346168; Thu, 27 Sep 2001 08:10:01 -0700 (PDT) (envelope-from gnats) Received: from devon.eecs.umich.edu (devon.eecs.umich.edu [141.213.11.128]) by hub.freebsd.org (Postfix) with ESMTP id A862A37B491 for ; Thu, 27 Sep 2001 08:09:24 -0700 (PDT) Received: (from ecronin@localhost) by devon.eecs.umich.edu (8.11.3/8.11.3) id f8RF9Nl61081; Thu, 27 Sep 2001 11:09:23 -0400 (EDT) (envelope-from ecronin) Message-Id: <200109271509.f8RF9Nl61081@devon.eecs.umich.edu> Date: Thu, 27 Sep 2001 11:09:23 -0400 (EDT) From: Eric Cronin Reply-To: ecronin@devon.eecs.umich.edu To: FreeBSD-gnats-submit@freebsd.org Cc: dhelder@eecs.umich.edu X-Send-Pr-Version: 3.113 Subject: ports/30872: purts/irc/p5-IRC patch chokes on messages/channels w/ :'s Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 30872 >Category: ports >Synopsis: Patch for IPv6 compat doesn't handle extra :'s in conversation >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 27 08:10:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Eric Cronin >Release: FreeBSD 4.3-RELEASE-p14 i386 >Organization: >Environment: System: FreeBSD devon.eecs.umich.edu 4.3-RELEASE-p14 FreeBSD 4.3-RELEASE-p14 #1: Wed Aug 29 16:06:52 EDT 2001 root@devon.eecs.umich.edu:/a/tail/host/z/obj/z/src/sys/MP_PIII-IPSEC i386 >Description: If a line of text contains a colon, only the part after the colon is returned due to an incorrect regex >How-To-Repeat: Use included example in package, type "test: this is a test" in IRC, observe that only "this is a test" will be returned by Net::IRC, the "test" ends up in the args. >Fix: Adding a space before the colon might work (not tested with IPv6, which was the original purpose of this patch): - ($from, $line) = $line =~ m/^(.*):(.*?)$/; + ($from, $line) = $line =~ m/^(.*) :(.*?)$/; >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message