Re: [PATCH][V2] cifs: fix memory leak of an allocated cifs_ntsd structure

2019-01-17 Thread Steve French
merged into cifs-2.6.git for-next On Thu, Jan 17, 2019 at 1:12 AM Dan Carpenter via samba-technical wrote: > > Thanks, Colin! > > Reviewed-by: Dan Carpener > > regards, > dan carpenter > > -- Thanks, Steve

Re: [PATCH][V2] cifs: fix memory leak of an allocated cifs_ntsd structure

2019-01-16 Thread Dan Carpenter
Thanks, Colin! Reviewed-by: Dan Carpener regards, dan carpenter

[PATCH][V2] cifs: fix memory leak of an allocated cifs_ntsd structure

2019-01-16 Thread Colin King
From: Colin Ian King The call to SMB2_queary_acl can allocate memory to pntsd and also return a failure via a call to SMB2_query_acl (and then query_info). This occurs when query_info allocates the structure and then in query_info the call to smb2_validate_and_copy_iov fails. Currently the failur