]> git.ipfire.org Git - thirdparty/hostap.git/commit
WPS: Use 0xffff instead of -1 to set all u16 bits to 1
authorJouni Malinen <j@w1.fi>
Sun, 23 Feb 2025 14:34:53 +0000 (16:34 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 23 Feb 2025 14:58:26 +0000 (16:58 +0200)
commitdc05cbc46eda46fbc72cfe50f97ef5d93e1e56de
tree93749a27ba54667f1fb29e2edace14e88caa7b55
parentbc3ee85e5415f61dccb566c55c6c3f639fb1ee8e
WPS: Use 0xffff instead of -1 to set all u16 bits to 1

This avoids static analyzer warnings about overflowed constants.

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