summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pathlib.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-12-10 11:13:01 (GMT)
committerGitHub <noreply@github.com>2018-12-10 11:13:01 (GMT)
commit1a7b62d5571b3742e706d247dfe6509f68f1409d (patch)
treedccc6927ab20b00f789c07eba42185c74535e227 /Lib/test/test_pathlib.py
parentc3cc75134d41c6d436c21d3d315dc069b4826432 (diff)
downloadcpython-1a7b62d5571b3742e706d247dfe6509f68f1409d.zip
cpython-1a7b62d5571b3742e706d247dfe6509f68f1409d.tar.gz
cpython-1a7b62d5571b3742e706d247dfe6509f68f1409d.tar.bz2
bpo-35050: AF_ALG length check off-by-one error (GH-10058) (GH-11069)
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> (cherry picked from commit 2eb6ad8578fa9d764c21a92acd8e054e3202ad19)
Diffstat (limited to 'Lib/test/test_pathlib.py')
0 files changed, 0 insertions, 0 deletions