[issue35050] Off-by-one bug in AF_ALG
Christian Heimes
report at bugs.python.org
Tue Oct 23 09:27:46 EDT 2018
Christian Heimes <lists at cheimes.de> added the comment:
> The Python code does not create buffer overflow, it's just that the Linux kernel will always reject names which are too long.
The Kernel doesn't have a direct length restriction. It just ensures that type and name are NULL terminated. Other code inside the Kernel rejects unknown type and name values.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35050>
_______________________________________
More information about the Python-bugs-list
mailing list