Re: [PATCH 1/4] [SMB3] Fix warning on uninitialized buftype

2015-03-31 Thread Jeff Layton
On Fri, 27 Mar 2015 00:27:59 -0500 Steve French wrote: > Pointed out by coverity analyzer. resp_buftype is > not initialized in one path which can rarely log > a spurious warning (buf is null so there will > not be a problem with freeing data, but if buf_type > were randomly set to wrong value

Re: [PATCH 1/4] [SMB3] Fix warning on uninitialized buftype

2015-03-31 Thread Jeff Layton
On Fri, 27 Mar 2015 00:27:59 -0500 Steve French smfre...@gmail.com wrote: Pointed out by coverity analyzer. resp_buftype is not initialized in one path which can rarely log a spurious warning (buf is null so there will not be a problem with freeing data, but if buf_type were randomly set to

Re: [PATCH 1/4] [SMB3] Fix warning on uninitialized buftype

2015-03-30 Thread Sachin Prabhu
On Fri, 2015-03-27 at 00:27 -0500, Steve French wrote: > Pointed out by coverity analyzer. resp_buftype is > not initialized in one path which can rarely log > a spurious warning (buf is null so there will > not be a problem with freeing data, but if buf_type > were randomly set to wrong value

Re: [PATCH 1/4] [SMB3] Fix warning on uninitialized buftype

2015-03-30 Thread Sachin Prabhu
On Fri, 2015-03-27 at 00:27 -0500, Steve French wrote: Pointed out by coverity analyzer. resp_buftype is not initialized in one path which can rarely log a spurious warning (buf is null so there will not be a problem with freeing data, but if buf_type were randomly set to wrong value could

Re: [PATCH 1/4] [SMB3] Fix warning on uninitialized buftype

2015-03-28 Thread Shirish Pargaonkar
Looks correct. Acked-by: Shirish Pargaonkar On Fri, Mar 27, 2015 at 12:27 AM, Steve French wrote: > Pointed out by coverity analyzer. resp_buftype is > not initialized in one path which can rarely log > a spurious warning (buf is null so there will > not be a problem with freeing data, but if

Re: [PATCH 1/4] [SMB3] Fix warning on uninitialized buftype

2015-03-28 Thread Shirish Pargaonkar
Looks correct. Acked-by: Shirish Pargaonkar shirishpargaon...@gmail.com On Fri, Mar 27, 2015 at 12:27 AM, Steve French smfre...@gmail.com wrote: Pointed out by coverity analyzer. resp_buftype is not initialized in one path which can rarely log a spurious warning (buf is null so there will

[PATCH 1/4] [SMB3] Fix warning on uninitialized buftype

2015-03-26 Thread Steve French
Pointed out by coverity analyzer. resp_buftype is not initialized in one path which can rarely log a spurious warning (buf is null so there will not be a problem with freeing data, but if buf_type were randomly set to wrong value could log a warning) Reported by Coverity (CID 1269144)

[PATCH 1/4] [SMB3] Fix warning on uninitialized buftype

2015-03-26 Thread Steve French
Pointed out by coverity analyzer. resp_buftype is not initialized in one path which can rarely log a spurious warning (buf is null so there will not be a problem with freeing data, but if buf_type were randomly set to wrong value could log a warning) Reported by Coverity (CID 1269144)