summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet
diff options
context:
space:
mode:
authorShigeru Yoshida <syoshida@redhat.com>2024-07-16 04:09:05 +0200
committerDavid S. Miller <davem@davemloft.net>2024-07-24 13:18:03 +0200
commitfa96c6baef1b5385e2f0c0677b32b3839e716076 (patch)
treebb7e227d24bc827c44f3adcb67b68452863160f3 /drivers/net/ethernet
parentnet: bonding: correctly annotate RCU in bond_should_notify_peers() (diff)
downloadlinux-fa96c6baef1b5385e2f0c0677b32b3839e716076.tar.xz
linux-fa96c6baef1b5385e2f0c0677b32b3839e716076.zip
tipc: Return non-zero value from tipc_udp_addr2str() on error
tipc_udp_addr2str() should return non-zero value if the UDP media address is invalid. Otherwise, a buffer overflow access can occur in tipc_media_addr_printf(). Fix this by returning 1 on an invalid UDP media address. Fixes: d0f91938bede ("tipc: add ip/udp media type") Signed-off-by: Shigeru Yoshida <syoshida@redhat.com> Reviewed-by: Tung Nguyen <tung.q.nguyen@endava.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
0 files changed, 0 insertions, 0 deletions