Linux CIFS filesystem development
 help / color / mirror / Atom feed
* [PATCH 00/12] cifs: various fixes for NULL pointers
@ 2017-10-11  1:59 Ronnie Sahlberg
       [not found] ` <20171011015927.7669-1-lsahlber-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 13+ messages in thread
From: Ronnie Sahlberg @ 2017-10-11  1:59 UTC (permalink / raw)
  To: linux-cifs; +Cc: Steve French


List, Steve

We recently had two very similar issues of dereferencing uninitialized pointer
when Sendreceive2() would have certain failures.

I went through the rest of smb2pdu.c to check for similar issues.

These are what I found. Including a memory leak in smb2_lockv().

These patches are all small and kept separate for review.
It might make sense to collapse all these patches into a single one. I don't
know. Up to you.

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-10-11  1:59 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-11  1:59 [PATCH 00/12] cifs: various fixes for NULL pointers Ronnie Sahlberg
     [not found] ` <20171011015927.7669-1-lsahlber-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-10-11  1:59   ` [PATCH 01/12] cifs: initialize rsp_iov in SMB2_negotiate Ronnie Sahlberg
2017-10-11  1:59   ` [PATCH 02/12] cifs: initialize rsp_iov in SMB2_ioctl and check for NULL before deref Ronnie Sahlberg
2017-10-11  1:59   ` [PATCH 03/12] cifs: initialize rsp_iov in SMB2_close Ronnie Sahlberg
2017-10-11  1:59   ` [PATCH 04/12] cifs: initialize rsp_iov in SMB2_query_info Ronnie Sahlberg
2017-10-11  1:59   ` [PATCH 05/12] cifs: initialize rsp_iov in SMB2_flush Ronnie Sahlberg
2017-10-11  1:59   ` [PATCH 06/12] cifs: initialize rsp_iov in SMB2_read and add check for NULL Ronnie Sahlberg
2017-10-11  1:59   ` [PATCH 07/12] cifs: initialize rsp_iov in SMB2_write Ronnie Sahlberg
2017-10-11  1:59   ` [PATCH 08/12] cifs: initialize rsp_iov in SMB2_query_directory Ronnie Sahlberg
2017-10-11  1:59   ` [PATCH 09/12] cifs: initialize rsp_iov in send_set_info Ronnie Sahlberg
2017-10-11  1:59   ` [PATCH 10/12] cifs: initialize rsp_iov in SMB2_QFS_info Ronnie Sahlberg
2017-10-11  1:59   ` [PATCH 11/12] cifs: initialize rsp_iov in SMB2_QFS_attr Ronnie Sahlberg
2017-10-11  1:59   ` [PATCH 12/12] cifs: initialize rsp_iov in smb2_lockv and fix a memory leak Ronnie Sahlberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox