SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 96 Python

bpo-35050: AF_ALG length check off-by-one error (GH-10058)

The length check for AF_ALG salg_name and salg_type had a off-by-one
error. The code assumed that both values are not necessarily NULL
terminated. However the Kernel code for alg_bind() ensures that the last
byte of both strings are NULL terminated.

Signed-off-by: Christian Heimes <christian@python.org>
C
Christian Heimes committed
2eb6ad8578fa9d764c21a92acd8e054e3202ad19
Parent: 8e04186
Committed by Victor Stinner <vstinner@redhat.com> on 12/10/2018, 10:22:37 AM