- From: Frank Mori Hess <fmhess_at_users.sourceforge.net>
- Date: Tue, 20 Jul 2004 20:11:42 -0400
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 20 July 2004 08:08 am, Eran Tromer wrote: > On 2004/07/18 20:30, Frank Mori Hess wrote: > > You might insert some printk's to see if the arguments passed to > > ni_ai_munge() are sane. > > Well, they're not sane. The "if(s==dev->read_subdev)" branch of > do_bufinfo_ioctl() calls comedi_buf_munge() with a negative num_bytes. > Here the printk-augmented kernel output of a cmd.c after hacking the > latter to call comedi_get_buffer_contents() before every read(): Okay, that was very helpful. I think it is fixed now in cvs. - -- Frank -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFA/bS+5vihyNWuA4URAgjlAJ0aYwSmPMAqQt1HGbpXz1JugKN8OACgh3ng w83wFqHxfzIXs0besPxlS1c= =L6D1 -----END PGP SIGNATURE-----
Received on 2004-07-20Z23:11:42