aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-10-18 14:16:39 (GMT)
committerJouni Malinen <j@w1.fi>2015-10-25 13:34:59 (GMT)
commit2461724c0501c5518fb064abc0a6342d24400604 (patch)
tree5f49918c35292fe926dfc21d3cdbfad57163772d /src/tls
parentf758ae76655301c08173b505db27deb407a2aca3 (diff)
downloadhostap-2461724c0501c5518fb064abc0a6342d24400604.zip
hostap-2461724c0501c5518fb064abc0a6342d24400604.tar.gz
hostap-2461724c0501c5518fb064abc0a6342d24400604.tar.bz2
RSN: 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>
Diffstat (limited to 'src/tls')
0 files changed, 0 insertions, 0 deletions