UBSan: Avoid unnecessary warning
elems->mic might be NULL here, so do not try to decrement it by 2 even if the result is not used anywhere due to a latter check for elems->mic being NULL. mesh_rsn.c:646:20: runtime error: pointer index expression with base 0x000000000000 overflowed to 0xfffffffffffffffe Signed-off-by: Jouni Malinen <j@w1.fi>master
parent
a9377bc380
commit
cc4cdefc7f
Loading…
Reference in New Issue