summaryrefslogtreecommitdiff
path: root/Python/pylifecycle.c
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2018-12-10 11:22:37 +0100
committerVictor Stinner <vstinner@redhat.com>2018-12-10 11:22:37 +0100
commit2eb6ad8578fa9d764c21a92acd8e054e3202ad19 (patch)
treeec8156905638640f904aa7f692e2cbdbe861e38b /Python/pylifecycle.c
parent8e0418688906206fe59bd26344320c0fc026849e (diff)
downloadcpython-git-2eb6ad8578fa9d764c21a92acd8e054e3202ad19.tar.gz
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>
Diffstat (limited to 'Python/pylifecycle.c')
0 files changed, 0 insertions, 0 deletions