Your message dated Sun, 02 Nov 2008 14:02:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#499414: fixed in joystick 20051019-5
has caused the Debian Bug report #499414,
regarding evtest is using an ioctl() wrong
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.)


-- 
499414: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=499414
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: joystick
Version: 20051019-4
Tags: patch

When starting evtest with kernel 2.6.27-rc1+, the following
message appears in dmesg:
| evdev.c(EVIOCGBIT): Suspicious buffer size 511, limiting output to 64 bytes. 
See http://userweb.kernel.org/~dtor/eviocgbit-bug.html

The following patch fixes the issue. Btw: Upstream homepage
(http://linuxconsole.sourceforge.net/) is dead.

--- joystick-20051019.org/utils/evtest.c        2005-02-06 14:51:42.000000000 
+0100
+++ joystick-20051019/utils/evtest.c    2008-09-18 16:01:57.000000000 +0200
@@ -333,14 +333,14 @@
        printf("Input device name: \"%s\"\n", name);
 
        memset(bit, 0, sizeof(bit));
-       ioctl(fd, EVIOCGBIT(0, EV_MAX), bit[0]);
+       ioctl(fd, EVIOCGBIT(0, sizeof(bit[0])), bit[0]);
        printf("Supported events:\n");
 
        for (i = 0; i < EV_MAX; i++)
                if (test_bit(i, bit[0])) {
                        printf("  Event type %d (%s)\n", i, events[i] ? 
events[i] : "?");
                        if (!i) continue;
-                       ioctl(fd, EVIOCGBIT(i, KEY_MAX), bit[i]);
+                       ioctl(fd, EVIOCGBIT(i, sizeof(bit[0])), bit[i]);
                        for (j = 0; j < KEY_MAX; j++) 
                                if (test_bit(j, bit[i])) {
                                        printf("    Event code %d (%s)\n", j, 
names[i] ? (names[i][j] ? names[i][j] : "?") : "?");



--- End Message ---
--- Begin Message ---
Source: joystick
Source-Version: 20051019-5

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

joystick_20051019-5.diff.gz
  to pool/main/j/joystick/joystick_20051019-5.diff.gz
joystick_20051019-5.dsc
  to pool/main/j/joystick/joystick_20051019-5.dsc
joystick_20051019-5_i386.deb
  to pool/main/j/joystick/joystick_20051019-5_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.
Stephen Kitt <[EMAIL PROTECTED]> (supplier of updated joystick 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: Sat, 01 Nov 2008 17:24:00 +0100
Source: joystick
Binary: joystick
Architecture: source i386
Version: 20051019-5
Distribution: unstable
Urgency: low
Maintainer: Stephen Kitt <[EMAIL PROTECTED]>
Changed-By: Stephen Kitt <[EMAIL PROTECTED]>
Description: 
 joystick   - set of testing and calibration tools for joysticks
Closes: 499414
Changes: 
 joystick (20051019-5) unstable; urgency=low
 .
   * Pass correct buffer size to EVIOCGBIT ioctl; thanks Sebastian Siewior!
     Closes: #499414.
   * Remove changes to inputattach.c from the diff.gz.
   * Update inputattach manpage.
   * Add USB segfault fix for jstest from Ubuntu.
   * Add comments on all patches.
   * Merge jscal.1 changes from button-axis-remapping.patch to avoid the
     Lintian warning about quilt patches changing files in the debian
     directory.
   * Remove reference to homepage which is dead.
Checksums-Sha1: 
 98c0a4f99c8e843dcba9fe3ce6ed15b977c642f7 990 joystick_20051019-5.dsc
 ee5951232aaddf1700369e3ed9e6a2e17c1f886e 15631 joystick_20051019-5.diff.gz
 473a33bba3191b0b1c05051a4b15e81fd8720ab1 26774 joystick_20051019-5_i386.deb
Checksums-Sha256: 
 c8129bd5feb7814e2f156301376dde80ee18e0e7bfc9b3c1d5f9d3cf651700fb 990 
joystick_20051019-5.dsc
 01e9d14a656d594a3e261751233200f740a09c2a538ac71447c104ffe89ec10c 15631 
joystick_20051019-5.diff.gz
 078aec8faa0b33110fd1a7b8722d18e32844c6989caebc6ac57788fec2bd0bbe 26774 
joystick_20051019-5_i386.deb
Files: 
 363877d388beca49158d22631e3a033e 990 utils extra joystick_20051019-5.dsc
 76cba5d7858eb33dff2750fc39fe1a1d 15631 utils extra joystick_20051019-5.diff.gz
 729cc641da9200b64bf0516dc4228b99 26774 utils extra joystick_20051019-5_i386.deb

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

iEYEARECAAYFAkkNrzQACgkQ5ItltUs5T34rdACePw40W/ZAURgFxfPV06++c8sv
5t0AoJEm4lKMp2BXI/p/oqRXzoWe/kxD
=U0sA
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to