Re: [PATCH 6/9] Bluetooth: Check address length before reading address field

2019-04-12 Thread David Miller
From: Tetsuo Handa Date: Fri, 12 Apr 2019 19:54:33 +0900 > KMSAN will complain if valid address length passed to bind() is shorter > than sizeof(struct sockaddr_sco) bytes. > > Signed-off-by: Tetsuo Handa Applied.

[PATCH 6/9] Bluetooth: Check address length before reading address field

2019-04-12 Thread Tetsuo Handa
KMSAN will complain if valid address length passed to bind() is shorter than sizeof(struct sockaddr_sco) bytes. Signed-off-by: Tetsuo Handa --- net/bluetooth/sco.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/bluetooth/sco.c b/net/bluetooth/sco.c index 9a580999ca57