Skip to content

gvariant-serialiser: Convert endianness of offsets

Simon McVittie requested to merge wip/smcv/gvariant-big-endian into main

The array of offsets is little-endian, even on big-endian architectures like s390x.

Fixes: ade71fb5 "gvariant: Don’t allow child elements to overlap with each other"
Resolves: #2839 (closed)

/cc @pwithnall

Merge request reports