Commit 658609d
ksmbd: avoid duplicate opinfo_put() call on error of smb21_lease_break_ack()
opinfo_put() could be called twice on error of smb21_lease_break_ack().
It will cause UAF issue if opinfo is referenced on other places.
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>1 parent c2a721e commit 658609d
1 file changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8219 | 8219 | | |
8220 | 8220 | | |
8221 | 8221 | | |
| 8222 | + | |
| 8223 | + | |
| 8224 | + | |
| 8225 | + | |
| 8226 | + | |
8222 | 8227 | | |
8223 | 8228 | | |
8224 | 8229 | | |
8225 | 8230 | | |
8226 | 8231 | | |
8227 | 8232 | | |
8228 | 8233 | | |
8229 | | - | |
8230 | | - | |
8231 | | - | |
8232 | | - | |
8233 | | - | |
8234 | 8234 | | |
8235 | 8235 | | |
8236 | 8236 | | |
| |||
0 commit comments