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
3513367
..
c21462d
100644
(file)
--- a/
Demos/Device/LowLevel/CCID/CCID.c
+++ b/
Demos/Device/LowLevel/CCID/CCID.c
@@
-1,14
+1,14
@@
/*
LUFA Library
/*
LUFA Library
- Copyright (C) Dean Camera, 202
0
.
+ Copyright (C) Dean Camera, 202
1
.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 202
0
Dean Camera (dean [at] fourwalledcubicle [dot] com)
- Copyright 202
0
Filipe Rodrigues (filipepazrodrigues [at] gmail [dot] com)
+ Copyright 202
1
Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 202
1
Filipe Rodrigues (filipepazrodrigues [at] gmail [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@
-563,6
+563,9
@@
void CCID_Task(void)
(void)Bwi;
(void)LevelParameter;
(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;
Endpoint_Read_Stream_LE(RequestBuffer, CCIDHeader.Length * sizeof(uint8_t), NULL);
uint8_t ResponseDataLength = 0;