]> git.ipfire.org Git - thirdparty/hostap.git/commit
RNR: Silence static analyzer warnings
authorJouni Malinen <j@w1.fi>
Sun, 23 Feb 2025 14:38:11 +0000 (16:38 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 23 Feb 2025 14:58:26 +0000 (16:58 +0200)
commit1bfd4398fb6f1ef8eaf1f3e25a0ee0eeea283c1f
tree8b9b401f435e94c609d3d66d65eae755d49ece97
parentdc05cbc46eda46fbc72cfe50f97ef5d93e1e56de
RNR: Silence static analyzer warnings

The !tbtt_count check seemed to be too complex for static analyzers to
understand that len and total_len have been incremented by at least
RNR_TBTT_HEADER_LEN. Silence the incorrect warning about interget
overflow with explicit checks.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/ap/ieee802_11.c