Skip to content
  • Gleb Popov's avatar
    Append NULL byte to every property of type QByteArray before returning it. · 5776d55fcaf0
    Gleb Popov authored
    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)
    5776d55fcaf0