Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
flatpak-proxy: Fix D-Bus disconnection with overly long object paths
According to the D-Bus specifications: https://dbus.freedesktop.org/doc/dbus-specification.html#id-1.4.4 For the STRING and OBJECT_PATH types, [the data length] is encoded in 4 bytes (a UINT32). But the code was trying to parse the 32-bit integer as an 8-bit one, meaning that, as was the case with object paths created by the dLeyna project, a 259-byte long string would be parsed like a 3-byte long one. Fixes: 004b7b2ca0e9 ("Parse dbus headers") in flatpak
- Loading branch information