[issue27278] py_getrandom() uses an int for syscall() result
Martin Panter
report at bugs.python.org
Thu Jun 9 04:19:54 EDT 2016
Martin Panter added the comment:
Make that INT_MAX. Or change n from an int to a Py_ssize_t. Both Linux and Solaris versions or getrandom() are documented as accepting size_t buflen.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27278>
_______________________________________
More information about the Python-bugs-list
mailing list