Bug#499414: evtest is using an ioctl() wrong

2008-11-01 Thread Moritz Muehlenhoff
Mark Purcell wrote:
 On Friday 19 September 2008 15:56:05 Stephen Kitt wrote:
  Thanks for the patch and the info, the next upload will fix both issues. It
  won't happen in the next few days though
 
 Stephen,
 
 Any progress on your upload to resolve this RC bug against lenny?

I can't reproduce with the regular Lenny kernel and the bug report
indicates behaviour were introduced in 2.6.27, which is not in
Lenny, so this is hardly release-critical.

Cheers,
Moritz



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



Bug#499414: evtest is using an ioctl() wrong

2008-11-01 Thread Sebastian Andrzej Siewior
* Moritz Muehlenhoff | 2008-11-01 12:42:30 [+0100]:

Mark Purcell wrote:
 On Friday 19 September 2008 15:56:05 Stephen Kitt wrote:
  Thanks for the patch and the info, the next upload will fix both issues. It
  won't happen in the next few days though
 
 Stephen,
 
 Any progress on your upload to resolve this RC bug against lenny?

I can't reproduce with the regular Lenny kernel and the bug report
indicates behaviour were introduced in 2.6.27, which is not in
Lenny, so this is hardly release-critical.
Yes, that is why I opened this bug initially with the severity normal.
Then I've been told that the user is free to use his own kernel (because
he needs new drivers, etc.). That is why I upgrade this bug.


Cheers,
Moritz

Sebastian



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



Bug#499414: evtest is using an ioctl() wrong

2008-10-29 Thread Mark Purcell
On Friday 19 September 2008 15:56:05 Stephen Kitt wrote:
 Thanks for the patch and the info, the next upload will fix both issues. It
 won't happen in the next few days though

Stephen,

Any progress on your upload to resolve this RC bug against lenny?

Mark



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



Bug#499414: evtest is using an ioctl() wrong

2008-10-29 Thread Stephen Kitt
On Wed, Oct 29, 2008 at 09:18:48PM +1100, Mark Purcell wrote:
 On Friday 19 September 2008 15:56:05 Stephen Kitt wrote:
  Thanks for the patch and the info, the next upload will fix both issues. It
  won't happen in the next few days though
 
 Any progress on your upload to resolve this RC bug against lenny?

I was originally planning on uploading a new version of the package with a
bunch of changes to experimental, but since this bug has been promoted I'll
package the minimal fixes required to unstable this weekend: the fix for this
bug and the fix for the lintian error.

Regards,

Stephen




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



Bug#499414: evtest is using an ioctl() wrong

2008-10-29 Thread Mark Purcell
On Thursday 30 October 2008 04:42:22 Stephen Kitt wrote:
 I was originally planning on uploading a new version of the package with a
 bunch of changes to experimental, but since this bug has been promoted I'll
 package the minimal fixes required to unstable this weekend: the fix for
 this bug and the fix for the lintian error.

Excellent.

That would be great.

Mark



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



Bug#499414: evtest is using an ioctl() wrong

2008-09-19 Thread Stephen Kitt
On Thu, 18 Sep 2008 16:15:53 +0200, Sebastian Siewior
[EMAIL PROTECTED] wrote:
 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.

Thanks for the patch and the info, the next upload will fix both issues. It
won't happen in the next few days though, I'm fixing various other problems
too!

Regards,

Stephen



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



Bug#499414: evtest is using an ioctl() wrong

2008-09-18 Thread Sebastian Siewior
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.c2005-02-06 14:51:42.0 
+0100
+++ joystick-20051019/utils/evtest.c2008-09-18 16:01:57.0 +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] : ?) : ?);



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