Jouni Malinen
78c8ee488f
ndis: 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:35:00 +02:00
..
2009-08-14 20:40:37 +03:00
2013-12-24 22:59:52 +02:00
2015-10-25 15:35:00 +02:00
2015-07-07 16:25:06 +03:00
2015-02-11 16:51:33 +02:00
2015-10-25 15:35:00 +02:00
2015-04-22 11:44:18 +03:00
2014-12-26 13:20:57 +02:00
2012-02-11 19:39:36 +02:00
2015-10-25 15:35:00 +02:00
2012-02-11 19:39:36 +02:00
2015-06-26 22:46:16 +03:00
2015-10-03 19:56:08 +03:00
2015-10-14 18:43:26 +03:00
2014-10-26 17:54:56 +02:00
2015-10-01 12:45:27 +03:00
2015-10-14 23:57:53 +03:00
2015-10-01 01:41:46 +03:00
2014-12-11 15:40:07 +02:00
2013-02-03 21:16:29 +02:00
2015-09-05 13:21:17 +03:00
2014-12-26 13:20:57 +02:00
2015-04-22 11:44:18 +03:00
2013-12-24 22:52:18 +02:00
2014-12-26 13:20:57 +02:00
2015-10-03 21:07:35 +03:00
2015-04-25 17:33:06 +03:00
2015-10-01 12:45:27 +03:00
2015-10-01 12:45:27 +03:00
2014-10-26 17:03:24 +02:00
2015-07-16 12:33:29 +03:00
2015-07-16 12:33:29 +03:00
2014-12-14 18:05:32 +02:00
2013-11-24 19:16:12 +02:00
2012-02-11 19:39:36 +02:00
2014-10-12 19:27:16 +03:00
2012-02-11 19:39:36 +02:00
2015-10-06 23:10:17 +03:00
2014-10-12 19:27:16 +03:00
2012-02-11 19:39:36 +02:00
2012-02-11 19:39:36 +02:00