Commit 9df0f70
Marios Makassikis
ksmbd: smb1: Fix potential memleak in smb_nt_create_andx
If the filename is invalid or in the veto list, the smb_get_name() call
will fail. Make sure the previously allocated 'name' is released.
Signed-off-by: Marios Makassikis <[email protected]>1 parent 9018350 commit 9df0f70
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2291 | 2291 | | |
2292 | 2292 | | |
2293 | 2293 | | |
| 2294 | + | |
2294 | 2295 | | |
2295 | 2296 | | |
2296 | 2297 | | |
| |||
0 commit comments