projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Upgrade doxygen configuration files to the latest version.
[pub/lufa.git]
/
Demos
/
Device
/
LowLevel
/
CCID
/
CCID.c
diff --git
a/Demos/Device/LowLevel/CCID/CCID.c
b/Demos/Device/LowLevel/CCID/CCID.c
index
a4e83ff
..
c21462d
100644
(file)
--- a/
Demos/Device/LowLevel/CCID/CCID.c
+++ b/
Demos/Device/LowLevel/CCID/CCID.c
@@
-563,6
+563,9
@@
void CCID_Task(void)
(void)Bwi;
(void)LevelParameter;
+ if (CCIDHeader.Length * sizeof(uint8_t) > sizeof(RequestBuffer))
+ break;
+
Endpoint_Read_Stream_LE(RequestBuffer, CCIDHeader.Length * sizeof(uint8_t), NULL);
uint8_t ResponseDataLength = 0;