Your message dated Wed, 02 Mar 2005 02:02:28 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#297646: fixed in trackballs 1.0.0-8
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 2 Mar 2005 01:32:15 +0000
>From [EMAIL PROTECTED] Tue Mar 01 17:32:15 2005
Return-path: <[EMAIL PROTECTED]>
Received: from av3-1-sn3.vrr.skanova.net [81.228.9.109] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1D6Iik-0004dj-00; Tue, 01 Mar 2005 17:32:14 -0800
Received: by av3-1-sn3.vrr.skanova.net (Postfix, from userid 502)
        id B3B5F38CE6; Wed,  2 Mar 2005 02:31:43 +0100 (CET)
Received: from smtp1-1-sn3.vrr.skanova.net (smtp1-1-sn3.vrr.skanova.net 
[81.228.9.177])
        by av3-1-sn3.vrr.skanova.net (Postfix) with ESMTP
        id 9FF9438CE5; Wed,  2 Mar 2005 02:31:43 +0100 (CET)
Received: from h55n2fls31o1123.telia.com (h55n2fls31o1123.telia.com 
[81.224.172.55])
        by smtp1-1-sn3.vrr.skanova.net (Postfix) with ESMTP id 4397038003;
        Wed,  2 Mar 2005 02:31:42 +0100 (CET)
Received: from metaur by h55n2fls31o1123.telia.com with local (Exim 4.44)
        id 1D6IiF-0004X4-Ii; Wed, 02 Mar 2005 02:31:43 +0100
Date: Wed, 2 Mar 2005 02:31:43 +0100
From: Ulf Harnhammar <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: trackballs: crashes when $USER contains "%n%n%n%n%n%n"
Message-ID: <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="k1lZvvs/B4yU6o8G"
Content-Disposition: inline
X-Blog-URL: http://www.advogato.org/person/metaur/
User-Agent: Mutt/1.5.6+20040907i
Content-Transfer-Encoding: 7bit
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.7 required=4.0 tests=BAYES_00,GAPPY_SUBJECT,
        HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 


--k1lZvvs/B4yU6o8G
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Subject: trackballs: crashes when $USER contains "%n%n%n%n%n%n"
Package: trackballs
Version: 1.0.0-7
Severity: normal
Tags: patch

Hello,

trackballs crashes when the USER environment variable contains strings li=
ke
"%n%n%n%n%n%n". It is caused by a bad snprintf() call. I have attached a =
patch.

[EMAIL PROTECTED]:~$ USER=3D'%n%n%n%n%n%n' /usr/games/trackballs -w
Welcome to Trackballs.
Using /usr/share/games/trackballs as gamedata dir
Warning: Rescaling images before loading them as textures.
Attempting to open mixer...failed
Couldn't open audio: Couldn't open /usr/share/games/trackballs/icons/trac=
kballs-32x32.png
Try shutting down artsd/esd or run trackballs through artsdsp/esddsp
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
[EMAIL PROTECTED]:~$

// Ulf H=E4rnhammar

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=3Den_US, LC_CTYPE=3Den_US (charmap=3DISO-8859-1)

Versions of packages trackballs depends on:
ii  guile-1.6-lib 1.6.7-1                    Main Guile libraries
ii  libc6         2.3.2.ds1-20               GNU C Library: Shared librar=
ies an
ii  libgcc1       1:3.4.3-6                  GCC support library
ii  libguile-ltdl 1.6.7-1                    Guile's patched version of l=
ibtool
ii  libqthreads-1 1.6.7-1                    QuickThreads library for Gui=
le
ii  libsdl-image1 1.2.3-6                    image loading library for Si=
mple D
ii  libsdl-mixer1 1.2.6-1                    mixer library for Simple Dir=
ectMed
ii  libsdl-ttf2.0 2.0.6-5                    ttf library for Simple Direc=
tMedia
ii  libsdl1.2debi 1.2.7+1.2.8cvs20041007-4.1 Simple DirectMedia Layer
ii  libstdc++5    1:3.3.5-8                  The GNU Standard C++ Library=
 v3
ii  trackballs-da 1.0.0-7                    Data files for trackballs
ii  xlibmesa-gl [ 4.3.0.dfsg.1-10            Mesa 3D graphics library [XF=
ree86]
ii  xlibmesa-glu  4.3.0.dfsg.1-10            Mesa OpenGL utility library =
[XFree
ii  zlib1g        1:1.2.2-3                  compression library - runtim=
e

-- no debconf information


--k1lZvvs/B4yU6o8G
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="trackballs.formstring.patch"

--- src/gamer.cc.old    2003-03-12 22:29:15.000000000 +0100
+++ src/gamer.cc        2005-03-02 02:11:10.000000000 +0100
@@ -31,7 +31,7 @@ using namespace std;
 
 Gamer::Gamer() {
   sprintf(name,"John Doe");
-  if(NULL != getenv("USER")) snprintf(name,20,getenv("USER"));  
+  if(NULL != getenv("USER")) snprintf(name,20,"%s",getenv("USER"));
 
   for(int i=0;i<Settings::settings->nLevelSets;i++) 
        levels[i] = new KnownLevel[256];

--k1lZvvs/B4yU6o8G--

---------------------------------------
Received: (at 297646-close) by bugs.debian.org; 2 Mar 2005 07:08:15 +0000
>From [EMAIL PROTECTED] Tue Mar 01 23:08:15 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1D6Nxv-0006mG-00; Tue, 01 Mar 2005 23:08:15 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1D6NsK-0005gi-00; Wed, 02 Mar 2005 02:02:28 -0500
From: Ari Pollak <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#297646: fixed in trackballs 1.0.0-8
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Wed, 02 Mar 2005 02:02:28 -0500
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Source: trackballs
Source-Version: 1.0.0-8

We believe that the bug you reported is fixed in the latest version of
trackballs, which is due to be installed in the Debian FTP archive:

trackballs-data_1.0.0-8_all.deb
  to pool/main/t/trackballs/trackballs-data_1.0.0-8_all.deb
trackballs_1.0.0-8.diff.gz
  to pool/main/t/trackballs/trackballs_1.0.0-8.diff.gz
trackballs_1.0.0-8.dsc
  to pool/main/t/trackballs/trackballs_1.0.0-8.dsc
trackballs_1.0.0-8_i386.deb
  to pool/main/t/trackballs/trackballs_1.0.0-8_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ari Pollak <[EMAIL PROTECTED]> (supplier of updated trackballs package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Format: 1.7
Date: Wed,  2 Mar 2005 01:48:41 -0500
Source: trackballs
Binary: trackballs trackballs-data
Architecture: source i386 all
Version: 1.0.0-8
Distribution: unstable
Urgency: low
Maintainer: Ari Pollak <[EMAIL PROTECTED]>
Changed-By: Ari Pollak <[EMAIL PROTECTED]>
Description: 
 trackballs - An OpenGL-based game of marbles through a labyrinth
 trackballs-data - Data files for trackballs
Closes: 297646
Changes: 
 trackballs (1.0.0-8) unstable; urgency=low
 .
   * Apply modified patch from Ulf Harnhammar to prevent a crash when
     the environment variable USER=%n%n%n%n%n or similar. (Closes: #297646)
Files: 
 2d8f3b72222e34415437467a431625ae 731 games extra trackballs_1.0.0-8.dsc
 2c1dc2c433b920e0c9963173e5d69d66 62990 games extra trackballs_1.0.0-8.diff.gz
 121737a0fae41e2e34a50552e5f59b78 158136 games extra trackballs_1.0.0-8_i386.deb
 de651a5fa05533fa17e16b060f4a8f89 4545060 games extra 
trackballs-data_1.0.0-8_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCJWNywO+u47cOQDsRAxeQAJ9XVNbdVBVzbHWd4WXmScvyVvYD1wCaAiB9
4NcUR1tYQQb57XAf/RZURaI=
=FcfD
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to