WPS: Limit WPS ER event_id < 2^31 bits to avoid issues with atoi()
authorJouni Malinen <jouni.malinen@atheros.com>
Tue, 20 Jul 2010 01:53:57 +0000 (18:53 -0700)
committerJouni Malinen <j@w1.fi>
Wed, 21 Jul 2010 05:56:58 +0000 (22:56 -0700)
commit08b19cb4049655f7a0703bbfb994ddf4c64f7276
treee7e704ec71969593b0130cf65ef25ad27cb41f24
parent7f6ec672ea429cc02bbe5532f3cc9e8892adb00c
WPS: Limit WPS ER event_id < 2^31 bits to avoid issues with atoi()

Previously, large event_id values (> 2^31) resulted in integer
overflow that would make ER drop all events from the AP.
src/wps/wps_er.c