Denis Kenzior
efecce772f
eapol: Fix memory allocation issues
...
When the EAPOL-Key data field is encrypted using AES Wrap, check
that the data field is large enough before calculating the expected
plaintext length.
Previously, if the encrypted data field was smaller than 8 bytes, an
integer underflow would occur when calculating the expected plaintext
data length. This would cause iwd to try to allocate a huge amount of
memory, which causes it to abort and terminate. If the data field was
equal to 8 bytes, iwd would try to allocate 0 bytes of memory, making
l_new return NULL, which subsequently causes iwd to crash on a NULL
pointer deference.
Reported-by: Mathy Vanhoef <Mathy.Vanhoef@cs.kuleuven.be>
2018-07-16 10:51:13 -05:00
..
2018-04-19 11:49:41 -05:00
2018-04-19 11:49:41 -05:00
2018-07-03 16:45:29 -05:00
2018-07-02 15:34:26 -05:00
2018-05-17 17:42:28 -05:00
2017-03-16 15:17:41 -05:00
2018-05-24 19:22:16 -05:00
2018-05-24 19:22:16 -05:00
2017-10-09 14:34:31 -05:00
2017-10-19 16:47:35 -05:00
2018-07-02 12:24:33 -05:00
2018-07-02 12:24:33 -05:00
2018-07-13 11:41:49 -05:00
2018-07-02 12:25:47 -05:00
2018-06-14 20:01:19 -05:00
2018-06-14 20:01:19 -05:00
2018-06-14 20:01:19 -05:00
2018-06-15 07:55:41 -05:00
2016-12-14 22:46:18 -06:00
2018-07-02 20:28:08 -05:00
2018-06-14 20:01:19 -05:00
2018-06-14 20:01:19 -05:00
2018-06-14 20:01:19 -05:00
2018-06-14 20:01:19 -05:00
2018-06-20 13:55:15 -05:00
2018-06-14 20:01:19 -05:00
2016-09-13 13:32:47 -05:00
2018-06-14 20:01:19 -05:00
2018-06-14 20:01:19 -05:00
2018-07-16 10:51:13 -05:00
2018-06-27 16:17:14 -05:00
2018-05-04 19:33:55 -05:00
2018-05-04 19:33:55 -05:00
2017-01-12 10:33:40 -06:00
2017-01-12 10:33:40 -06:00
2017-11-28 13:20:33 -06:00
2018-06-22 14:21:50 -05:00
2018-07-03 16:45:25 -05:00
2017-09-22 11:59:06 -05:00
2018-05-24 15:54:32 -05:00
2017-03-09 11:45:41 -06:00
2018-05-24 19:22:16 -05:00
2018-05-22 11:28:02 -05:00
2018-05-24 19:22:12 -05:00
2016-06-21 11:41:37 -05:00
2018-05-24 19:22:12 -05:00
2017-09-22 12:18:06 -05:00
2017-09-22 12:18:06 -05:00
2018-07-03 16:45:29 -05:00
2018-07-03 16:45:29 -05:00
2018-07-11 16:09:42 -05:00
2018-07-11 15:20:55 -05:00
2017-11-28 13:30:06 -06:00
2017-11-28 13:30:06 -06:00
2016-07-20 15:29:39 -05:00
2016-07-07 13:21:08 -05:00
2018-07-13 12:34:59 -05:00
2018-06-29 13:48:09 -05:00
2017-12-14 16:22:09 -06:00
2017-12-14 16:22:09 -06:00
2018-06-14 20:01:19 -05:00
2018-06-14 20:01:19 -05:00
2018-06-14 20:53:39 -05:00
2016-06-10 09:59:59 -05:00
2018-06-28 11:37:06 -05:00
2018-06-28 11:37:06 -05:00
2017-10-18 19:29:24 -05:00
2017-11-16 14:10:47 -06:00
2018-05-24 15:24:16 -05:00
2018-05-24 15:24:16 -05:00
2018-07-03 16:45:25 -05:00
2016-09-13 14:53:30 -05:00
2017-08-30 16:58:14 -05:00
2017-02-17 12:27:13 -06:00