Re: the bug of comedi_recognize and comedi_report_boards

On Thursday 09 November 2006 09:06 am, sinkin wrote:
> Hello
> I find the bug of comedi_recognize and comedi_report_boards function.
> 	name_ptr += driv->offset;
> because name_ptr is a pointer to "const char *". so name_ptr will be
> added by driv->offset *4.
> we can fix it:
> 	unsigned long ptr = name_ptr;
> 	.... ....
> 	ptr += driv->offset;
> 	name_ptr = ptr;
> --

Thanks for catching that.  It should be fixed in cvs now.

-- 
Frank

Received on 2006-11-10Z02:02:45