Wireshark-commits: [Wireshark-commits] master-1.12 2297b62: Fix previous change.
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=2297b621c7689a801dcbaed3c7d013d9c8623434
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark
Commits:
2297b62 by Guy Harris (guy@xxxxxxxxxxxx):
Fix previous change.
In 1.12, an EAPOL_RSN_KEY structure has an extra
TKIP_GROUP_KEYBYTES_LEN_MAX-byte array at the end; that's not there in
2.0 and later.
So comparing against sizeof(EAPOL_RSN_KEY) does different things in 1.12
and 2.x.
Instead, we should compare against RSN_KEY_WITHOUT_KEYBYTES_LEN, as that
has the same value in 1.12 as sizeof(EAPOL_RSN_KEY) has in 2.x.
Change-Id: I5464c592cf42ae1bab6b878b049c40ef63a5fd51
Reviewed-on: https://code.wireshark.org/review/15548
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from f2c0a28 Make sure EAPOL body is big enough for a EAPOL_RSN_KEY.
adds 2297b62 Fix previous change.
Summary of changes:
epan/crypt/airpdcap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)