]> git.ipfire.org Git - thirdparty/hostap.git/commit
JSON: Fix parsing of a number from the end of the buffer
authorJouni Malinen <j@w1.fi>
Sat, 9 Feb 2019 23:33:42 +0000 (01:33 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 11 Feb 2019 00:35:29 +0000 (02:35 +0200)
commit0dedcb3154fad12c1ee48bb4102dfea2c11de6d9
tree1ac811dacfb25bc0c5fed90a8d675a844292dda5
parent79fa1b4530a2e88c2a76424fea3be4cc8df575ca
JSON: Fix parsing of a number from the end of the buffer

Avoid reading one octet past the end of the buffer when parsing a number
that is at the very end of the buffer.

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