diff options
author | 2018-05-23 04:56:44 +0200 | |
---|---|---|
committer | 2018-05-29 09:27:42 +0200 | |
commit | 6238f92132a6da64b731de1a728fa46ffaa21f62 (patch) | |
tree | 45465435d773ecf4a24a3f8ad240745da880b6ce /tools/perf/scripts/python/export-to-postgresql.py | |
parent | vfio: ccw: refactor and improve pfn_array_alloc_pin() (diff) | |
download | linux-rng-6238f92132a6da64b731de1a728fa46ffaa21f62.tar.xz linux-rng-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 <bjsdjshi@linux.ibm.com>
Message-Id: <20180523025645.8978-4-bjsdjshi@linux.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions