mirror of https://github.com/python/cpython
Browse Source
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>pull/11079/head
committed by
Victor Stinner
3 changed files with 24 additions and 3 deletions
Loading…
Reference in new issue