summaryrefslogtreecommitdiffstats
path: root/Python/future.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-12-10 11:12:47 (GMT)
committerGitHub <noreply@github.com>2018-12-10 11:12:47 (GMT)
commitbad41cefef6625807198a813d9dec2c08d59dc60 (patch)
treefc39eab76dfda211eb0bd20a01217c6a5d65074e /Python/future.c
parent3fd975583b8e43d8dc23c83d699cd10b1fee6f7f (diff)
downloadcpython-bad41cefef6625807198a813d9dec2c08d59dc60.zip
cpython-bad41cefef6625807198a813d9dec2c08d59dc60.tar.gz
cpython-bad41cefef6625807198a813d9dec2c08d59dc60.tar.bz2
bpo-35050: AF_ALG length check off-by-one error (GH-10058) (GH-11070)
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 'Python/future.c')
0 files changed, 0 insertions, 0 deletions