git://developer.intra2net.com
/
libftdi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
6a6fcd8
)
Fix off-by-one buffer size error (detected by PC-lint)
author
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Fri, 2 Sep 2011 12:22:40 +0000 (14:22 +0200)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Fri, 2 Sep 2011 12:22:40 +0000 (14:22 +0200)
src/ftdi.h
patch
|
blob
|
blame
|
history
diff --git
a/src/ftdi.h
b/src/ftdi.h
index
20ecc26
..
4e3880e
100644
(file)
--- a/
src/ftdi.h
+++ b/
src/ftdi.h
@@
-249,7
+249,7
@@
struct ftdi_eeprom
/* Special function of FT232R/FT232H devices (and possibly others as well) */
/** CBUS pin function. See CBUS_xxx defines. */
- int cbus_function[9];
+ int cbus_function[10];
/** Select hight current drive on R devices. */
int high_current;
/** Select hight current drive on A channel (2232C */