From bounce-debian-bugs-dist==chris-lamb.co.uk@lists.debian.org Sun Apr 20 21:05:31 2008
Received: from liszt.debian.org ([82.195.75.100])
	by chris-lamb.co.uk with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.63)
	(envelope-from <bounce-debian-bugs-dist==chris-lamb.co.uk@lists.debian.org>)
	id 1Jnfmt-0000sT-F8
	for bot.address@chris-lamb.co.uk; Sun, 20 Apr 2008 21:05:31 +0100
Received: from localhost (localhost [127.0.0.1])
	by liszt.debian.org (Postfix) with QMQP
	id 62ABE13A52AA; Sun, 20 Apr 2008 20:05:22 +0000 (UTC)
Old-Return-Path: <debbugs@rietz.debian.org>
X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on liszt.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.9 required=4.0 tests=BAYES_00,FOURLA,
	MURPHY_DRUGS_REL8,RCVD_IN_DNSWL_LOW autolearn=no version=3.2.3
X-Original-To: debian-bugs-dist@lists.debian.org
Delivered-To: lists-debian-bugs-dist@liszt.debian.org
Received: from rietz.debian.org (rietz.debian.org [140.211.166.43])
	by liszt.debian.org (Postfix) with ESMTP id 7DCED13A5285;
	Sun, 20 Apr 2008 20:05:08 +0000 (UTC)
Received: from debbugs by rietz.debian.org with local (Exim 4.63)
	(envelope-from <debbugs@rietz.debian.org>)
	id 1Jnfhu-00025s-V3; Sun, 20 Apr 2008 20:00:14 +0000
X-Loop: owner@bugs.debian.org
Subject: Bug#477079: gnoemoe: crash when sending MCP edits
Reply-To: Joshua Judson Rosen <rozzin@geekspace.com>, 477079@bugs.debian.org
Resent-From: Joshua Judson Rosen <rozzin@geekspace.com>
Resent-To: debian-bugs-dist@lists.debian.org
Resent-CC: Joshua Judson Rosen <rozzin@geekspace.com>, Jesse van den Kieboom <jesse@icecrew.nl>
Resent-Date: Sun, 20 Apr 2008 20:00:12 +0000
Resent-Message-ID: <handler.477079.B.12087215675391@bugs.debian.org>
X-Debian-PR-Message: report 477079
X-Debian-PR-Package: gnoemoe
X-Debian-PR-Keywords: patch
X-Debian-PR-Source: gnoemoe
Received: via spool by submit@bugs.debian.org id=B.12087215675391
          (code B ref -1); Sun, 20 Apr 2008 20:00:12 +0000
Received: (at submit) by bugs.debian.org; 20 Apr 2008 19:59:27 +0000
X-Amavis-Spam-Status: No, score=-12.9 required=4.0 tests=BAYES_00,FOURLA,HAS_PACKAGE,
	MURPHY_DRUGS_REL8,X_DEBBUGS_CC autolearn=no 
	version=3.1.4-bugs.debian.org_2005_01_02
Received: from qmta10.emeryville.ca.mail.comcast.net ([76.96.30.17])
	by rietz.debian.org with esmtp (Exim 4.63)
	(envelope-from <rozzin@geekspace.com>)
	id 1Jnfh8-0001MY-Op
	for submit@bugs.debian.org; Sun, 20 Apr 2008 19:59:26 +0000
Received: from OMTA02.emeryville.ca.mail.comcast.net ([76.96.30.19])
	by QMTA10.emeryville.ca.mail.comcast.net with comcast
	id FqAC1Z00B0QkzPwAA0L500; Sun, 20 Apr 2008 19:58:35 +0000
Received: from linger ([66.31.64.161])
	by OMTA02.emeryville.ca.mail.comcast.net with comcast
	id FvzJ1Z00F3UkhhN8N00000; Sun, 20 Apr 2008 19:59:20 +0000
X-Authority-Analysis: v=1.0 c=1 a=lcG5w5hR_A0A:10 a=e4AKLu6_XYi60bDc160A:9
 a=jePnkiM-mr9bEb-QZCEA:7 a=wgzcJDxVuy-VORfdUpKln-mmejUA:4 a=ok68_o4NJqgA:10
 a=YezVFBCd79B0ibs5SaEA:9 a=Ur-HikmBiSLuFM5I0B6TZLlGzlUA:4 a=rPt6xJ-oxjAA:10
Received: from earth.rozzin.dyndns.org (earth.rozzin.dyndns.org [::ffff:192.168.1.198])
  (IDENT: Debian-exim, TLS: TLSv1/SSLv3,256bits,AES256-SHA)
  by linger with esmtp; Sun, 20 Apr 2008 15:59:37 -0400
  id 000019DC.480BA0A9.0000093D
Received: from rozzin by earth.rozzin.dyndns.org with local (Exim 4.69)
	(envelope-from <rozzin@geekspace.com>)
	id 1Jnfgy-00071J-Rb
	for submit@bugs.debian.org; Sun, 20 Apr 2008 15:59:16 -0400
From: Joshua Judson Rosen <rozzin@geekspace.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Date: Sun, 20 Apr 2008 15:59:16 -0400
Message-ID: <87skxgti0b.fsf@earth.rozzin.dyndns.org>
User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=_linger-2365-1208721577-0001-2"
Delivered-To: submit@bugs.debian.org
Resent-Date: Sun, 20 Apr 2008 20:00:14 +0000
X-Debian-Message: from BTS
X-Rc-Virus: 2007-09-13_01
X-Rc-Spam: 2007-10-04_01
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/343762
X-Loop: debian-bugs-dist@lists.debian.org
List-Id: <debian-bugs-dist.lists.debian.org>
List-Post: <mailto:debian-bugs-dist@lists.debian.org>
List-Help: <mailto:debian-bugs-dist-request@lists.debian.org?subject=help>
List-Subscribe: <mailto:debian-bugs-dist-request@lists.debian.org?subject=subscribe>
List-Unsubscribe: <mailto:debian-bugs-dist-request@lists.debian.org?subject=unsubscribe>
Precedence: list
Resent-Sender: debian-bugs-dist-request@lists.debian.org
Received-SPF: none
X-SPF-Guess: pass
X-Spam-Score: -48.4
X-Spam-Report: (-48.4 points, 5.0 required)
	pts rule name              description
	---- ---------------------- --------------------------------------------------
	-50 D_FOR_BOT              For debian-devel-changes bot
	0.0 UNPARSEABLE_RELAY      Informational: message has unparseable relay lines
	-2.6 BAYES_00               BODY: Bayesian spam probability is 0 to 1%
	[score: 0.0000]
	4.2 AWL                    AWL: From: address is in the auto white-list

This is a MIME-formatted message.  If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_linger-2365-1208721577-0001-2
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit

Package: gnoemoe
Version: 2.2.0+dfsg-2
Severity: important
Tags: patch

MCP crashes when submitting changes from MCP edit-sessions.

I wanted to install Gnoemoe on my wife's laptop to introduce her to
MUDs/MOOs/MUVEs, because Gnoemoe appears to be the simplest, most
straight-forward client provided by Debian, and includes MCP
editing-in-a-window, but this means that Gnoemoe isn't actually usable
for her.

So, I've traced this to a bug in which line-lengh is being incorrectly
calculated, and attached a patch that fixes the problem at the end of
this report.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gnoemoe depends on:
ii  libart-2.0-2           2.3.20-1          Library of functions for 2D graphi
ii  libatk1.0-0            1.20.0-1          The ATK accessibility toolkit
ii  libbonobo2-0           2.22.0-1          Bonobo CORBA interfaces library
ii  libbonoboui2-0         2.22.0-1          The Bonobo UI library
ii  libc6                  2.7-10            GNU C Library: Shared libraries
ii  libcairo2              1.4.14-1          The Cairo 2D vector graphics libra
ii  libdbus-1-3            1.1.20-1          simple interprocess messaging syst
ii  libdbus-glib-1-2       0.74-1            simple interprocess messaging syst
ii  libfontconfig1         2.5.0-2           generic font configuration library
ii  libgconf2-4            2.22.0-1          GNOME configuration database syste
ii  libglade2-0            1:2.6.2-1         library to load .glade files at ru
ii  libglib2.0-0           2.16.1-2          The GLib library of C routines
ii  libgnome-keyring0      2.22.1-1          GNOME keyring services library
ii  libgnome2-0            2.20.1.1-1        The GNOME 2 library - runtime file
ii  libgnomecanvas2-0      2.20.1.1-1        A powerful object-oriented display
ii  libgnomeprint2.2-0     2.18.3-1          The GNOME 2.2 print architecture -
ii  libgnomeui-0           2.20.1.1-1        The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0         1:2.22.0-2        GNOME Virtual File System (runtime
ii  libgtk2.0-0            2.12.9-2          The GTK+ graphical user interface 
ii  libgtksourceview1.0-0  1.8.5-1           shared libraries for the GTK+ synt
ii  libice6                2:1.0.4-1         X11 Inter-Client Exchange library
ii  libnotify1 [libnotify1 0.4.4-3           sends desktop notifications to a n
ii  liborbit2              1:2.14.12-0.1     libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0          1.20.2-2          Layout and rendering of internatio
ii  libpopt0               1.10-3            lib for parsing cmdline parameters
ii  libruby1.8             1.8.6.114-2       Libraries necessary to run Ruby 1.
ii  libsm6                 2:1.0.3-1+b1      X11 Session Management library
ii  libvte9                1:0.16.13-1       Terminal emulator widget for GTK+ 
ii  libx11-6               2:1.0.3-7         X11 client-side library
ii  libxcursor1            1:1.1.9-1         X cursor management library
ii  libxext6               2:1.0.4-1         X11 miscellaneous extension librar
ii  libxfixes3             1:4.0.3-2         X11 miscellaneous 'fixes' extensio
ii  libxft2                2.1.12-2          FreeType-based font drawing librar
ii  libxi6                 2:1.1.3-1         X11 Input extension library
ii  libxinerama1           2:1.0.3-1         X11 Xinerama extension library
ii  libxml2                2.6.31.dfsg-2     GNOME XML library
ii  libxrandr2             2:1.2.2-1         X11 RandR extension library
ii  libxrender1            1:0.9.4-1         X Rendering Extension client libra
ii  zlib1g                 1:1.2.3.3.dfsg-11 compression library - runtime

gnoemoe recommends no packages.

-- no debconf information


--=_linger-2365-1208721577-0001-2
Content-Type: text/x-diff; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename=gnoemoe-mcp-crashfix.diff
Content-Description: fix for segfault in Gnoemoe's MCP editor

--- gnoemoe-2.2.0+dfsg/gnoemoe/gm-world.c	2006-09-29 07:51:48.000000000 -0400
+++ gnoemoe-2.2.0+dfsg.rozzin/gnoemoe/gm-world.c	2008-04-20 15:43:03.000000000 -0400
@@ -845,7 +845,8 @@ gm_world_parse_legacy_editing_start(GmWo
 
 	einfo->is_editing = TRUE;
 	einfo->name = g_strndup(name_start + 6, (upload_start - name_start) - 6);
-	einfo->upload = g_strndup(upload_start + 9, (upload_start - line) + 9);	
+	einfo->upload = g_strndup(upload_start + 9,
+				  strlen(line) - (upload_start - line) - 9);
 	einfo->lines = NULL;
 }
 

--=_linger-2365-1208721577-0001-2--



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


