diff options
| author | Halil Pasic | 2020-03-20 15:31:01 +0100 |
|---|---|---|
| committer | Cornelia Huck | 2020-03-23 12:36:27 +0100 |
| commit | 7722837369eb1c7e808021d79da68afa0c01c26f (patch) | |
| tree | 83954f0d4087fc845e53083d5e7e80e2fbe43432 /scripts/kernel-doc | |
| parent | Documentation: create/move s390x documentation (diff) | |
| download | qemu-7722837369eb1c7e808021d79da68afa0c01c26f.tar.gz qemu-7722837369eb1c7e808021d79da68afa0c01c26f.tar.xz qemu-7722837369eb1c7e808021d79da68afa0c01c26f.zip | |
s390/ipl: fix off-by-one in update_machine_ipl_properties()
In update_machine_ipl_properties() the array ascii_loadparm needs to
hold the 8 char loadparm and a string terminating zero char.
Let's increase the size of ascii_loadparm accordingly.
Signed-off-by: Halil Pasic <pasic@linux.ibm.com>
Fixes: 0a01e082a428 ("s390/ipl: sync back loadparm")
Fixes: Coverity CID 1421966
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20200320143101.41764-1-pasic@linux.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'scripts/kernel-doc')
0 files changed, 0 insertions, 0 deletions
