Jouni Malinen
d2eb91e08f
TLS: 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
..
2009-12-06 16:27:54 +02:00
2014-12-08 11:42:07 +02:00
2014-05-19 23:27:30 +03:00
2012-02-11 19:39:36 +02:00
2012-02-11 19:39:36 +02:00
2015-06-23 20:39:08 +03:00
2011-11-27 22:08:29 +02:00
2014-07-02 12:38:47 +03:00
2014-05-20 19:52:18 +03:00
2012-02-11 19:39:36 +02:00
2012-02-11 19:39:36 +02:00
2012-02-11 19:39:36 +02:00
2012-02-11 19:39:36 +02:00
2014-05-19 23:27:30 +03:00
2014-05-19 23:27:30 +03:00
2012-02-11 19:39:36 +02:00
2014-11-23 17:48:34 +02:00
2015-10-25 15:34:59 +02:00
2015-08-02 16:52:56 +03:00
2015-08-02 16:52:56 +03:00
2015-02-28 15:45:16 +02:00
2014-03-09 17:11:58 +02:00
2012-02-11 19:39:36 +02:00
2012-02-11 19:39:36 +02:00
2014-07-02 12:38:47 +03:00
2012-02-11 19:39:36 +02:00
2014-03-16 12:43:49 +02:00
2015-02-28 15:45:16 +02:00
2015-10-25 15:34:59 +02:00
2015-08-02 16:52:56 +03:00
2015-08-02 16:52:56 +03:00
2015-10-25 15:34:59 +02:00
2012-02-11 19:39:36 +02:00