mirror of
https://github.com/torvalds/linux.git
synced 2026-03-07 23:04:33 +01:00
If SMB2_open_init() or SMB2_close_init() fails (e.g. reconnect), the
iovs set @rqst will be left uninitialised, hence calling
SMB2_open_free(), SMB2_close_free() or smb2_set_related() on them will
oops.
Fix this by initialising @close_iov and @open_iov before setting them
in @rqst.
Reported-by: Thiago Becker <tbecker@redhat.com>
Fixes:
|
||
|---|---|---|
| .. | ||
| client | ||
| common | ||
| server | ||
| Kconfig | ||
| Makefile | ||