Files
linux/fs
Pavel Shilovsky 3edeb4a414 SMB3: Fix potential memory leak when processing compound chain
When a reconnect happens in the middle of processing a compound chain
the code leaks a buffer from the memory pool. Fix this by properly
checking for a return code and freeing buffers in case of error.

Also maintain a buf variable to be equal to either smallbuf or bigbuf
depending on a response buffer size while parsing a chain and when
returning to the caller.

Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
2019-08-05 22:50:13 -05:00
..
2019-07-31 18:51:50 +02:00
2019-07-25 11:05:11 +02:00
2019-07-03 17:52:09 -04:00
2018-07-03 16:44:45 -04:00
2019-05-21 08:23:41 +01:00
2019-04-08 18:21:02 -05:00
2019-02-07 16:38:35 +01:00
2019-07-31 12:22:32 -04:00