diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-12-10 11:13:01 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-10 11:13:01 (GMT) |
commit | 1a7b62d5571b3742e706d247dfe6509f68f1409d (patch) | |
tree | dccc6927ab20b00f789c07eba42185c74535e227 /PC/python_uwp.cpp | |
parent | c3cc75134d41c6d436c21d3d315dc069b4826432 (diff) | |
download | cpython-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 'PC/python_uwp.cpp')
0 files changed, 0 insertions, 0 deletions