libftdi-git Archives

Subject: port libftdi to libusb-1.0 branch, eeprom-new, updated. v0.17-158-g1743128

From: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
To: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
Date: Sat, 15 Jan 2011 16:38:30 +0100 (CET)
The branch, eeprom-new has been updated
       via  17431287ffa37d2085dbe7cb30afa17487e456a2 (commit)
      from  2c1e2bde004c2dc28770343f0bbe999dd60ac697 (commit)


- Log -----------------------------------------------------------------
commit 17431287ffa37d2085dbe7cb30afa17487e456a2
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date:   Sat Jan 15 16:38:26 2011 +0100

    Address one more compile warning / add FIXME comment for Uwe

-----------------------------------------------------------------------

Summary of changes:
 src/ftdi.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/ftdi.c b/src/ftdi.c
index d7843ff..1e92dc5 100644
--- a/src/ftdi.c
+++ b/src/ftdi.c
@@ -2958,8 +2958,15 @@ int ftdi_eeprom_decode(struct ftdi_context *ftdi, int 
verbose)
                     fprintf(stdout,"C%d Function: %s\n", i,
                             cbus_mux[eeprom->cbus_function[i]]);
                 else
+                {
+                    /* FIXME for Uwe: This results in an access above array 
bounds.
+                       Also I couldn't find documentation about this mode.
                     fprintf(stdout,"C%d BB Function: %s\n", i,
                             cbus_BB[i]);
+                    */
+                    fprintf(stdout, "Unknown CBUS mode. Might be special 
mode?\n");
+                    (void)cbus_BB;
+                }
             }
         }
     }


hooks/post-receive
-- 
port libftdi to libusb-1.0

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

Current Thread
  • port libftdi to libusb-1.0 branch, eeprom-new, updated. v0.17-158-g1743128, libftdi-git <=