]> git.tuebingen.mpg.de Git - paraslash.git/commit
client: Check buffer size returned by apc_priv_decrypt().
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 7 May 2023 14:40:26 +0000 (16:40 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 17 Mar 2024 11:35:03 +0000 (12:35 +0100)
commit2bb55caa8470cbb6ad66f258b1650f2f83e6b7ea
treeda0628b432a19ee776c19c340093ff1668785013
parent2934ee80367ee9d50b99ed8d7f672d1a397b4ce0
client: Check buffer size returned by apc_priv_decrypt().

The decoded challenge buffer contains the challenge and the two session
keys but nothing else. So we know its size up-front and should fail
the handshake if the size of the rsa-decrypted buffer differs.
client_common.c