mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
pulse-server: use object serial as index
Use the lower 32 bits of the object serial as the index. When there is an overflow, use an invalid index, which will probably result in a protocol error.
This commit is contained in:
parent
1b9a2b6079
commit
1d03923a97
5 changed files with 28 additions and 4 deletions
|
|
@ -75,6 +75,7 @@ struct pw_manager_param {
|
|||
|
||||
struct pw_manager_object {
|
||||
struct spa_list link; /**< link in manager object_list */
|
||||
uint64_t serial;
|
||||
uint32_t id;
|
||||
uint32_t permissions;
|
||||
const char *type;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue