Append NULL byte to every property of type QByteArray before returning it.
While Qt documentation states that QByteArray's are always NULL-terminated, the terminator itself is not a part of the array and can only be observed when calling QByteArray::data() method. This results in data passed over D-Bus to not be NULL-terminated. Submitted by: tijl (original patch)
Showing
Please register or sign in to comment