diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-03-18 16:12:54 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-05-10 19:15:20 -0500 |
commit | a2ba2709f5e465b316ef1f18605190d249847aad (patch) | |
tree | 877939cfa1e7e44048f8d25312b59d2af2651b68 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 8ef32967065737dac51974efae333436354bea0a (diff) |
cifsd: Fix a use after free on error path
The ksmbd_free_work_struct() frees "work" so we need to swap the order
of these two function calls to avoid a use after free.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions