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
..
2014-03-15 09:57:10 +02:00
2015-07-16 18:26:15 +03:00
2014-10-11 18:03:38 +03:00
2015-08-01 15:45:18 +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-04-22 11:44:19 +03:00
2015-10-06 01:27:27 +03:00
2015-10-06 01:27:27 +03:00
2015-10-06 01:27:27 +03:00
2013-12-24 22:59:52 +02:00