]> git.ipfire.org Git - thirdparty/hostap.git/commit
Fix ieee802_11_defrag_mle_subelem() check on remaining buffer
authorBruno.Kremp@sony.com <Bruno.Kremp@sony.com>
Fri, 19 Dec 2025 10:25:46 +0000 (10:25 +0000)
committerJouni Malinen <j@w1.fi>
Sat, 24 Jan 2026 17:41:14 +0000 (19:41 +0200)
commit5b1cd4686c76a79fb4cc4a46dfb61e28bc521dba
tree08d25ae346cae627cbc53617eec21c6638ae0495
parent26fd0bbb5bdde80a0fe9c9f1082f66ef0bcb5cff
Fix ieee802_11_defrag_mle_subelem() check on remaining buffer

The end pointer moves as well when cutting out a subelement
header. While the previous version checked against the original full
buffer, it is more accurate to check against the updated end of the
buffer.

Signed-off-by: Bruno Kremp <bruno.kremp@sony.com>
src/common/ieee802_11_common.c