guelfey / go.dbus

Native Go bindings for D-Bus
BSD 2-Clause "Simplified" License
124 stars 42 forks source link

UnixFDIndex to UnixFD conversion only works on toplevel #46

Open alexlarsson opened 10 years ago

alexlarsson commented 10 years ago

If you have e.g. a message containing an array of FDs it is not currently converted from UnixFDIndex to a UnixFD, becasue the replacement in transport_unix.go:ReadMessage() is shallow.

alexlarsson commented 10 years ago

same is true for sending fds