Re: [PATCH net-next] tipc: eliminate complaint of KMSAN uninit-value in tipc_conn_rcv_sub

2018-05-23 Thread Ying Xue
On 05/20/2018 11:00 AM, David Miller wrote: > From: Ying Xue > Date: Fri, 18 May 2018 19:50:55 +0800 > >> As variable s of struct tipc_subscr type is not initialized >> in tipc_conn_rcv_from_sock() before it is used in tipc_conn_rcv_sub(), >> KMSAN reported the following uninit-value type complai

RE: [PATCH net-next] tipc: eliminate complaint of KMSAN uninit-value in tipc_conn_rcv_sub

2018-05-21 Thread Jon Maloy
rge.net > Subject: Re: [PATCH net-next] tipc: eliminate complaint of KMSAN uninit- > value in tipc_conn_rcv_sub > > From: Ying Xue > Date: Fri, 18 May 2018 19:50:55 +0800 > > > As variable s of struct tipc_subscr type is not initialized in > > tipc_conn_rcv_from_sock()

Re: [PATCH net-next] tipc: eliminate complaint of KMSAN uninit-value in tipc_conn_rcv_sub

2018-05-19 Thread David Miller
From: Ying Xue Date: Fri, 18 May 2018 19:50:55 +0800 > As variable s of struct tipc_subscr type is not initialized > in tipc_conn_rcv_from_sock() before it is used in tipc_conn_rcv_sub(), > KMSAN reported the following uninit-value type complaint: I agree with others that the short read is the b

Re: [PATCH net-next] tipc: eliminate complaint of KMSAN uninit-value in tipc_conn_rcv_sub

2018-05-18 Thread Dmitry Vyukov
On Fri, May 18, 2018 at 1:50 PM, Ying Xue wrote: > As variable s of struct tipc_subscr type is not initialized > in tipc_conn_rcv_from_sock() before it is used in tipc_conn_rcv_sub(), > KMSAN reported the following uninit-value type complaint: > > ==

[PATCH net-next] tipc: eliminate complaint of KMSAN uninit-value in tipc_conn_rcv_sub

2018-05-18 Thread Ying Xue
As variable s of struct tipc_subscr type is not initialized in tipc_conn_rcv_from_sock() before it is used in tipc_conn_rcv_sub(), KMSAN reported the following uninit-value type complaint: == BUG: KMSAN: uninit-value in tipc_conn_rcv_