diff options
author | Oliver Hartkopp <[email protected]> | 2021-03-25 13:58:49 +0100 |
---|---|---|
committer | Marc Kleine-Budde <[email protected]> | 2021-03-29 09:51:43 +0200 |
commit | f522d9559b07854c231cf8f0b8cb5a3578f8b44e (patch) | |
tree | 6887546071b57eec92b9a60b2a49f11c75bf6c0f /scripts/gdb/linux/tasks.py | |
parent | 9e9714742fb70467464359693a73b911a630226f (diff) |
can: isotp: fix msg_namelen values depending on CAN_REQUIRED_SIZE
Since commit f5223e9eee65 ("can: extend sockaddr_can to include j1939
members") the sockaddr_can has been extended in size and a new
CAN_REQUIRED_SIZE macro has been introduced to calculate the protocol
specific needed size.
The ABI for the msg_name and msg_namelen has not been adapted to the
new CAN_REQUIRED_SIZE macro for the other CAN protocols which leads to
a problem when an existing binary reads the (increased) struct
sockaddr_can in msg_name.
Fixes: e057dd3fc20f ("can: add ISO 15765-2:2016 transport protocol")
Reported-by: Richard Weinberger <[email protected]>
Acked-by: Kurt Van Dijck <[email protected]>
Link: https://lore.kernel.org/linux-can/[email protected]/T/#t
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Oliver Hartkopp <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions