Re: [PATCH v2] cifs: smb2pdu: Fix potential NULL pointer dereference

2018-04-04 Thread Aurélien Aptel
"Gustavo A. R. Silva" writes: > tcon->ses is being dereferenced before it is null checked, hence > there is a potential null pointer dereference. > > Fix this by moving the pointer dereference after tcon->ses has > been properly null checked. > > Addresses-Coverity-ID:

Re: [PATCH v2] cifs: smb2pdu: Fix potential NULL pointer dereference

2018-04-04 Thread Aurélien Aptel
"Gustavo A. R. Silva" writes: > tcon->ses is being dereferenced before it is null checked, hence > there is a potential null pointer dereference. > > Fix this by moving the pointer dereference after tcon->ses has > been properly null checked. > > Addresses-Coverity-ID: 1467426 ("Dereference

[PATCH v2] cifs: smb2pdu: Fix potential NULL pointer dereference

2018-04-03 Thread Gustavo A. R. Silva
tcon->ses is being dereferenced before it is null checked, hence there is a potential null pointer dereference. Fix this by moving the pointer dereference after tcon->ses has been properly null checked. Addresses-Coverity-ID: 1467426 ("Dereference before null check") Fixes: 93012bf98416 ("cifs:

[PATCH v2] cifs: smb2pdu: Fix potential NULL pointer dereference

2018-04-03 Thread Gustavo A. R. Silva
tcon->ses is being dereferenced before it is null checked, hence there is a potential null pointer dereference. Fix this by moving the pointer dereference after tcon->ses has been properly null checked. Addresses-Coverity-ID: 1467426 ("Dereference before null check") Fixes: 93012bf98416 ("cifs: