]> git.ipfire.org Git - thirdparty/hostap.git/commit
HS 2.0: Fix Terms and Conditions Server URL macro replacement
authorJouni Malinen <jouni@codeaurora.org>
Mon, 30 Jul 2018 21:07:36 +0000 (00:07 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 30 Jul 2018 21:07:36 +0000 (00:07 +0300)
commit5ca1196577d9bbea5eaecaf129c57738b3092d2e
treefef4a20d1c12e0982de494ee13bf8fad9de51e4a
parent420b5dd81490f9a7c14af4d639f4a9a10f5ea3ce
HS 2.0: Fix Terms and Conditions Server URL macro replacement

The last character of the STA MAC address got replaced with 0x00 due to
truncation if the @1@ macro was used at the end of the URL. Fix this
case by allocating larger buffer for the URL.

Fixes: d4e39c51f8bb ("HS 2.0: Move Terms and Conditions Server URL generation from AP to AS")
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/radius/radius_server.c