libftdi Archives

Subject: Re: libdtdi-1: Crash in asyn transfer

From: Jie Zhang <jzhang918@xxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Thu, 11 Feb 2010 00:21:36 +0800
Hi Uwe,

Sorry for the late reply. What's your host Linux distribution? Is it SuSE?

On Wed, Feb 3, 2010 at 6:36 AM, Uwe Bonnes
<bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> When trying async transfer with my FT2232 sync FIFO gadget, I had to apply
> appended patch. Probably transfer->status is only set when the transfer is
> complete or otherwise aborted.
>
> Does the patch look resonable?

Return 0 when transfer == NULL is not good. Could you try these two
patches? What's the output with the debug one?


Thanks,
Jie


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Attachment: libftdi-workaround-issue-on-suse-2.diff
Description: Text Data

Attachment: libftdi-workaround-issue-on-suse-2-debug.diff
Description: Text Data

Current Thread