mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
SCARD: Increase application template DO buffer size
This DO has a maximum length of 127 bytes (TS 102 221), so better use large enough buffer when reading the record. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
9779e122cd
commit
5464bcbcff
@ -397,7 +397,7 @@ static int scard_get_aid(struct scard_data *scard, unsigned char *aid,
|
||||
unsigned char rid[5];
|
||||
unsigned char appl_code[2]; /* 0x1002 for 3G USIM */
|
||||
} *efdir;
|
||||
unsigned char buf[100];
|
||||
unsigned char buf[127];
|
||||
size_t blen;
|
||||
|
||||
efdir = (struct efdir *) buf;
|
||||
|
Loading…
Reference in New Issue
Block a user