Jouni Malinen
3991cb7b3c
EAP-IKEv2 peer: 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-24 21:43:54 +03:00
..
2015-05-03 16:33:03 +03:00
2015-02-01 19:22:54 +02:00
2015-05-24 11:58:45 +03:00
2015-10-24 21:43:54 +03:00
2012-02-11 19:39:36 +02:00
2015-10-24 21:43:54 +03:00
2015-05-03 16:32:28 +03:00
2012-02-11 19:39:36 +02:00
2015-08-01 16:57:04 +03:00
2014-12-21 00:48:24 +02:00
2014-07-02 12:38:48 +03:00
2012-08-16 18:49:02 +03:00
2014-12-08 11:42:07 +02:00
2014-02-26 01:24:23 +02:00
2015-08-02 16:52:56 +03:00
2012-02-11 19:39:36 +02:00
2015-05-03 16:32:36 +03:00
2015-07-28 21:00:18 +03:00
2013-10-23 20:51:46 +03:00
2013-10-23 20:51:46 +03:00
2014-07-02 12:38:48 +03:00
2015-08-02 16:52:56 +03:00
2015-05-03 16:32:46 +03:00
2015-05-03 16:33:03 +03:00
2015-08-02 16:52:56 +03:00
2015-05-03 16:32:23 +03:00
2015-07-07 19:25:31 +03:00
2014-06-13 16:03:45 +03:00
2015-08-01 21:07:44 +03:00
2015-01-28 13:09:31 +02:00
2015-08-30 18:37:44 +03:00
2015-08-01 16:57:04 +03:00
2015-04-25 17:33:06 +03:00
2015-10-24 21:43:54 +03:00
2012-02-11 19:39:36 +02:00
2015-04-22 11:44:19 +03:00
2014-07-02 12:38:48 +03:00
2012-02-11 19:39:36 +02:00
2014-06-12 19:44:58 +03:00
2012-02-11 19:39:36 +02:00