Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
uds: take the interface data off the stack.
The 'struct interface' for the UDS port is allocated on the stack, and when this gets passed to port_open, the port instance takes a pointer to the string in the 'name' field. Currently this is harmless for the UDS port, but it is not good form. This patch fixes the issue by making the interface part of the clock instance. Signed-off-by: Richard Cochran <[email protected]> Reported-by: Miroslav Lichvar <[email protected]>
- Loading branch information