Skip to content

UnixFDIndex fields inside structs missed by ReadMessage() #223

@Allen-Webb

Description

@Allen-Webb

I had a method return type with UnixFDs inside a struct, and wasn't getting the right fd numbers. I debugged the issue and found that the UnixFDIndex fields weren't getting translated by:
https://github.com/godbus/dbus/blob/85c14741/transport_unix.go#L158

I am going to try to work around the issue by flattening my return type, but I figured the bug should be reported also.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions