From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Sep 21 17:10:16 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 928BF16A4B3 for ; Sun, 21 Sep 2003 17:10:16 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C76B43FF2 for ; Sun, 21 Sep 2003 17:10:14 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8M0ADFY061288 for ; Sun, 21 Sep 2003 17:10:13 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8M0AD9t061287; Sun, 21 Sep 2003 17:10:13 -0700 (PDT) (envelope-from gnats) Resent-Date: Sun, 21 Sep 2003 17:10:13 -0700 (PDT) Resent-Message-Id: <200309220010.h8M0AD9t061287@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Simon Barner Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40E5716A4B3; Sun, 21 Sep 2003 17:06:09 -0700 (PDT) Received: from mailout.informatik.tu-muenchen.de (mailout.informatik.tu-muenchen.de [131.159.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5433443F85; Sun, 21 Sep 2003 17:06:08 -0700 (PDT) (envelope-from barner@in.tum.de) Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id 642673B445; Mon, 22 Sep 2003 02:05:58 +0200 (CEST) Message-Id: <20030922000558.642673B445@zi025.glhnet.mhn.de> Date: Mon, 22 Sep 2003 02:05:58 +0200 (CEST) From: Simon Barner To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: gnome@FreeBSD.org Subject: ports/57072: [patch] x11-fm/nautilus2: fix crash with unknown protocols X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Simon Barner List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2003 00:10:16 -0000 >Number: 57072 >Category: ports >Synopsis: [patch] x11-fm/nautilus2: fix crash with unknown protocols >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Sep 21 17:10:13 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Simon Barner >Release: FreeBSD 4.9-PRERELEASE i386 >Organization: >Environment: System: FreeBSD zi025.glhnet.mhn.de 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #1: Thu Sep 4 20:49:53 CEST 2003 simon@zi025.glhnet.mhn.de:/usr/src/sys/compile/KISTE i386 >Description: When you enter an unknown protocol in Nautilus 2, it will crash. This bug has already been reported to bugzilla.gnome.org, and it has been fixed in the CVS version of Nautilus: http://bugzilla.gnome.org/show_bug.cgi?id=122265 http://cvs.gnome.org/bonsai/cvsview2.cgi?command=DIFF&subdir=nautilus%2Flibnautilus-private&file=nautilus-file.c&rev1=1.327&rev2=1.328&whitespace_mode=show&diff_mode=context I would suggest to include this tiny patch to the Nautilus 2 port in order to fix the problem until the next release. >How-To-Repeat: Enter an invalid location, such as `foobar:///', and Nautilus 2.4.0 will crash. >Fix: This patch implements the fix from the Nautilus CVS repository (maybe you also want to bump the port version?). diff -ruN nautilus2.orig/files/patch-libnautilus-private::nautilus-file.c nautilus2/files/patch-libnautilus-private::nautilus-file.c --- nautilus2.orig/files/patch-libnautilus-private::nautilus-file.c Thu Jan 1 01:00:00 1970 +++ nautilus2/files/patch-libnautilus-private::nautilus-file.c Sun Sep 21 22:19:14 2003 @@ -0,0 +1,11 @@ +--- libnautilus-private/nautilus-file.c.orig Sun Sep 21 22:14:27 2003 ++++ libnautilus-private/nautilus-file.c Sun Sep 21 22:15:32 2003 +@@ -357,8 +357,6 @@ + relative_uri_tmp++; + } + relative_uri = strdup (relative_uri_tmp); +- } else { +- g_assert_not_reached (); + } + } + >Release-Note: >Audit-Trail: >Unformatted: