The branch, master has been updated
via 3af1ac0986d0b7cf4063794be8c375ea9a90a770 (commit)
from 236e16d12a347db827c913a743fa6aab3d35d22e (commit)
- Log -----------------------------------------------------------------
commit 3af1ac0986d0b7cf4063794be8c375ea9a90a770
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Mon Oct 25 12:57:32 2010 +0200
Fix clean up code path in _usb_bulk_write_async (uninitialized memory)
-----------------------------------------------------------------------
Summary of changes:
src/ftdi.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/ftdi.c b/src/ftdi.c
index 06f6293..9cf425f 100644
--- a/src/ftdi.c
+++ b/src/ftdi.c
@@ -1407,6 +1407,7 @@ static int _usb_bulk_write_async(struct ftdi_context
*ftdi, int ep, char *bytes,
do
{
/* find a free urb buffer we can use */
+ i = 0;
urb=NULL;
for (cleanup_count=0; urb==NULL && cleanup_count <= 1; cleanup_count++)
{
hooks/post-receive
--
A library to talk to FTDI chips
--
libftdi-git - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi-git+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|