[issue39593] ctypes s_set() uses strlen() and so truncates string at null character
hai shi
report at bugs.python.org
Tue Feb 11 03:47:44 EST 2020
hai shi <shihai1991 at 126.com> added the comment:
I am not sure it have realtion of libffi's type or not?
`s_set()` and `s_get()`'s type of ffi is `FFI_TYPE_POINTER`;
REF: https://www.manpagez.com/info/libffi/libffi-3.0.13/libffi_6.php#index-ffi_005ftype_005fpointer
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39593>
_______________________________________
More information about the Python-bugs-list
mailing list