Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python: Fix conversion with null bytes in bytes object
Previously, the returned string was interpreted as a null-terminated C-string. However, a Python bytes object may contain null bytes in the string which is why the separately stored string length must be used to construct the correct string.
- Loading branch information