Your message dated Fri, 15 Apr 2011 13:51:34 +0000
with message-id <[email protected]>
and subject line Bug#622100: fixed in xevil 2.02r2-10
has caused the Debian Bug report #622100,
regarding xevil will not always read X resources correctly
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
622100: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=622100
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: xevil
Version: 2.02r2-9
Tags: patch
xevil does not always read X resources correctly for the definition of keyboard
mappings. This is because of the use of invalid memory in the routine
Game::process_x_resources(). The "option" char pointer points to memory
provided by a temporary string object that has gone out of scope when "option"
is used. This bug is only noticeable for certain implementations of STL on the
compiler platform. Here is a suggested fix:
--- a/cmn/game.cpp
+++ b/cmn/game.cpp
@@ -2254,10 +2254,10 @@ void Game::process_x_resources(int *,char **)
strm << "right_" << keysNames[n];
else
strm << "right_" << keysNames[n] << "_2";
- const char *option = strm.str().c_str();
+ string option = strm.str();
// Should we free value??
- char *value = XGetDefault(ui->get_dpy(0),XEVIL_CLASS,option);
+ char *value =
XGetDefault(ui->get_dpy(0),XEVIL_CLASS,option.c_str());
if (value) {
KeySym keysym = XStringToKeysym(value);
if (keysym != NoSymbol)
@@ -2273,10 +2273,10 @@ void Game::process_x_resources(int *,char **)
strm << "left_" << keysNames[n];
else
strm << "left_" << keysNames[n] << "_2";
- const char *option = strm.str().c_str();
+ string option = strm.str();
// Should we free value??
- char *value = XGetDefault(ui->get_dpy(0),XEVIL_CLASS,option);
+ char *value =
XGetDefault(ui->get_dpy(0),XEVIL_CLASS,option.c_str());
if (value) {
KeySym keysym = XStringToKeysym(value);
if (keysym != NoSymbol)
--- End Message ---
--- Begin Message ---
Source: xevil
Source-Version: 2.02r2-10
We believe that the bug you reported is fixed in the latest version of
xevil, which is due to be installed in the Debian FTP archive:
xevil_2.02r2-10.diff.gz
to main/x/xevil/xevil_2.02r2-10.diff.gz
xevil_2.02r2-10.dsc
to main/x/xevil/xevil_2.02r2-10.dsc
xevil_2.02r2-10_i386.deb
to main/x/xevil/xevil_2.02r2-10_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.
Brandon Barnes <[email protected]> (supplier of updated xevil 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: SHA1
Format: 1.8
Date: Tue, 12 Apr 2011 21:54:00 -0700
Source: xevil
Binary: xevil
Architecture: source i386
Version: 2.02r2-10
Distribution: unstable
Urgency: low
Maintainer: Brandon Barnes <[email protected]>
Changed-By: Brandon Barnes <[email protected]>
Description:
xevil - A violent side-scrolling game for X
Closes: 622100
Changes:
xevil (2.02r2-10) unstable; urgency=low
.
* Fixed bug that sometimes prevented X resources from being read properly.
Thank you, Rowan Vince, for finding the bug and providing a patch.
(Closes: #622100)
* Enabled parallel building in rules file when using DEB_BUILD_OPTIONS
* Added Homepage field to control file
* copyright file now points to GPL-2 instead of GPL
* Explicitly state that package uses source format 1.0 by adding file
debian/source/format
* Added xevil.doc-base file to describe installed documentation
* Set Standards Version to 3.9.2 (no changes)
Checksums-Sha1:
f4a22be127dc4f51129ee16e9d88ef7bd3951cfe 996 xevil_2.02r2-10.dsc
97573c4ad32e2d508c160fd9bf740f8a43d7f56e 45518 xevil_2.02r2-10.diff.gz
a082b77d98d68bea299819436881ba40d866e9f0 584368 xevil_2.02r2-10_i386.deb
Checksums-Sha256:
74e8f974ae937ae6b3c7cb5624276576d2ab49b74c7bb2f60b980651cc7b04ce 996
xevil_2.02r2-10.dsc
3514c5e042febeb3f4dbd6c4b4c1550214a6ce1f1a5fffebf826c4f056e35d8f 45518
xevil_2.02r2-10.diff.gz
68b6fa8b815c2589f5c527e676cd1ac62a45ab41a2b57855241b5f89b17b97a6 584368
xevil_2.02r2-10_i386.deb
Files:
684e48bb2f0bbd283647e5826af7e9f9 996 games optional xevil_2.02r2-10.dsc
b715972a49149eca63d478259f5396d0 45518 games optional xevil_2.02r2-10.diff.gz
22705a191ca072352e62ea7da7b8e756 584368 games optional xevil_2.02r2-10_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAk2oSPQACgkQ+C5cwEsrK576HACdFDCE91aZmSH3Bjua9CvdhReA
cBsAn1L1pSohGXhOJM2VWT1MX++RCJqA
=58hE
-----END PGP SIGNATURE-----
--- End Message ---