Jouni Malinen
1e72ba2e61
RSN auth: Avoid undefined behavior in pointer arithmetic
...
Reorder terms in a way that no invalid pointers are generated with
pos+len operations. end-pos is always defined (with a valid pos pointer)
while pos+len could end up pointing beyond the end pointer which would
be undefined behavior.
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-10-25 15:34:59 +02:00
..
2015-10-17 19:53:29 +03:00
2012-12-18 18:13:31 +02:00
2015-05-24 10:38:27 +03:00
2013-12-31 19:34:43 +02:00
2015-10-07 17:07:21 +03:00
2015-10-17 19:30:49 +03:00
2015-10-03 21:07:35 +03:00
2015-10-03 21:07:35 +03:00
2015-07-20 13:42:35 +03:00
2015-07-20 13:42:35 +03:00
2014-03-15 09:57:10 +02:00
2012-02-11 19:39:36 +02:00
2015-08-24 02:29:30 +03:00
2012-02-11 19:39:36 +02:00
2015-10-25 15:34:59 +02:00
2015-09-05 19:38:06 +03:00
2014-10-21 23:25:48 +03:00
2014-10-21 23:25:48 +03:00
2015-07-16 18:26:15 +03:00
2015-02-08 13:35:49 +02:00
2015-10-03 20:19:06 +03:00
2015-03-05 17:21:30 +02:00
2015-01-30 18:55:22 +02:00
2014-10-28 01:08:29 +02:00
2015-10-03 21:19:09 +03:00
2015-03-28 13:16:26 +02:00
2015-10-07 17:07:21 +03:00
2015-10-07 17:07:21 +03:00
2015-10-03 21:35:08 +03:00
2015-10-03 20:19:06 +03:00
2014-02-26 01:24:24 +02:00
2014-02-26 01:24:24 +02:00
2015-09-05 01:14:01 +03:00
2015-03-29 20:51:14 +03:00
2014-10-11 18:03:38 +03:00
2012-02-11 19:39:36 +02:00
2015-10-14 18:43:26 +03:00
2015-08-01 15:45:18 +03:00
2015-07-20 13:39:22 +03:00
2015-07-20 13:39:22 +03:00
2015-10-03 21:01:47 +03:00
2015-10-03 20:00:50 +03:00
2015-10-03 21:01:47 +03:00
2015-10-06 01:27:29 +03:00
2015-10-06 01:27:29 +03:00
2015-04-22 11:44:19 +03:00
2015-07-07 16:25:06 +03:00
2014-11-25 16:58:21 +02:00
2014-03-05 23:36:54 +02:00
2012-02-11 19:39:36 +02:00
2014-11-23 21:03:40 +02:00
2015-10-14 18:43:26 +03:00
2015-10-14 18:43:26 +03:00
2012-02-11 19:39:36 +02:00
2012-02-11 19:39:36 +02:00
2015-10-06 01:27:27 +03:00
2015-10-06 23:09:55 +03:00
2013-12-24 07:13:34 +02:00
2012-11-18 13:06:03 +02:00
2015-07-16 18:26:15 +03:00
2015-10-06 01:27:27 +03:00
2015-10-06 01:27:27 +03:00
2015-05-07 20:54:26 +03:00
2012-08-10 14:09:05 +03:00
2015-05-03 18:26:50 +03:00
2013-12-24 22:59:52 +02:00
2015-01-20 02:14:19 +02:00
2014-11-22 16:34:34 +02:00
2015-04-22 11:44:19 +03:00
2015-10-14 18:42:07 +03:00
2012-02-11 19:39:36 +02:00
2015-10-14 18:43:26 +03:00
2015-10-25 15:34:59 +02:00
2014-02-26 01:24:24 +02:00
2015-10-14 18:43:26 +03:00
2015-10-14 18:43:26 +03:00
2015-10-14 18:42:07 +03:00
2014-01-27 21:10:55 +02:00
2015-04-13 14:00:32 +03:00
2014-11-19 16:25:13 +02:00