summaryrefslogtreecommitdiff
path: root/drivers/dax
diff options
context:
space:
mode:
authorDong Jia Shi <bjsdjshi@linux.ibm.com>2018-05-23 04:56:44 +0200
committerCornelia Huck <cohuck@redhat.com>2018-05-29 09:27:42 +0200
commit6238f92132a6da64b731de1a728fa46ffaa21f62 (patch)
tree45465435d773ecf4a24a3f8ad240745da880b6ce /drivers/dax
parent5c1cfb1c3948fe93a32dfcd75223dda0f1558bb7 (diff)
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 'drivers/dax')
0 files changed, 0 insertions, 0 deletions