Jouni Malinen 40762fcede PCSC: 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
..
2013-04-27 22:16:40 +03:00
2013-07-09 15:20:17 +03:00
2015-07-27 00:47:19 +03:00
2015-07-17 21:57:07 +03:00
2014-05-26 17:21:44 +03:00
2014-05-26 17:21:44 +03:00
2015-01-10 17:35:53 +02:00