diff options
author | Halil Pasic <pasic@linux.ibm.com> | 2020-07-23 18:27:17 +0200 |
---|---|---|
committer | Cornelia Huck <cohuck@redhat.com> | 2020-07-24 08:49:53 +0200 |
commit | d6645483285feaa0aa26fe2b0c3bac6989250d2f (patch) | |
tree | 98de624a3e917e0c8ce7da15c9f72ded4112de8d /docs/interop/qcow2.txt | |
parent | d1bb69db4ceb6897ef6a17bf263146b53a123632 (diff) |
s390x/s390-virtio-ccw: fix loadparm property getter
The function machine_get_loadparm() is supposed to produce a C-string,
that is a NUL-terminated one, but it does not. ElectricFence can detect
this problem if the loadparm machine property is used.
Let us make the returned string a NUL-terminated one.
Fixes: 7104bae9de ("hw/s390x: provide loadparm property for the machine")
Signed-off-by: Halil Pasic <pasic@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20200723162717.88485-1-pasic@linux.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'docs/interop/qcow2.txt')
0 files changed, 0 insertions, 0 deletions