diff options
| author | Dong Jia Shi <[email protected]> | 2018-05-23 02:56:44 +0000 |
|---|---|---|
| committer | Cornelia Huck <[email protected]> | 2018-05-29 07:27:42 +0000 |
| commit | 6238f92132a6da64b731de1a728fa46ffaa21f62 (patch) | |
| tree | 45465435d773ecf4a24a3f8ad240745da880b6ce /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | vfio: ccw: refactor and improve pfn_array_alloc_pin() (diff) | |
| download | kernel-6238f92132a6da64b731de1a728fa46ffaa21f62.tar.gz kernel-6238f92132a6da64b731de1a728fa46ffaa21f62.zip | |
vfio: ccw: set ccw->cda to NULL defensively
Let's avoid free on ccw->cda that points to a guest address
or an already freed memory area by setting it to NULL if memory
allocation didn't happen or failed.
Signed-off-by: Dong Jia Shi <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Cornelia Huck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
