Package: python-vdf / 4.0-2

Metadata

Package Version Patches format
python-vdf 4.0-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
Treat UTF 16 strings in binary VDF as little endian.patch | (download)

vdf/__init__.py | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 treat utf-16 strings in binary vdf as little-endian

Integers in binary VDF are already treated as little-endian (least
significant byte first) regardless of CPU architecture, but the 16-bit
units in UTF-16 didn't get the same treatment. This led to a test failure
on big-endian machines.

Bug: https://github.com/ValvePython/vdf/issues/33
Signed-off-by: Simon McVittie <smcv@debian.org>