projects
/
sasc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a70ac8f
)
cardclient-camd: fix array boundary warning
author
leslie
<unknown>
Sun, 29 Apr 2012 16:53:33 +0000
(18:53 +0200)
committer
leslie
<unknown>
Sun, 29 Apr 2012 16:53:33 +0000
(18:53 +0200)
systems/cardclient/camd.c
patch
|
blob
|
history
diff --git
a/systems/cardclient/camd.c
b/systems/cardclient/camd.c
index 6bff7a733c20e3fd2b64e273bd8850e5bad3968f..d747a621d53537eb92cc2052c5569bea6a194f59 100644
(file)
--- a/
systems/cardclient/camd.c
+++ b/
systems/cardclient/camd.c
@@
-394,7
+394,7
@@
struct CmdBlock {
unsigned short pinID; // 16
unsigned char pad2[2];// 18 XXXX
} service;
- unsigned char data[
2
]; // 20
+ unsigned char data[
0
]; // 20
};
#define CBSIZE(cb) (sizeof((cb)->udp_header)+sizeof((cb)->service))