diff options
author | Murilo Opsfelder Araujo | 2018-01-05 15:44:40 +0100 |
---|---|---|
committer | Jeff Cody | 2018-02-01 04:37:00 +0100 |
commit | fbd5c4c0db47e578e3fdd88a0ebc4314a1ed3d42 (patch) | |
tree | 3f66f7ffd794de0387b67615cbd83678738d0931 /tests/qapi-schema/include-extra-junk.out | |
parent | Merge remote-tracking branch 'remotes/rth/tags/pull-hppa-20180131' into staging (diff) | |
download | qemu-fbd5c4c0db47e578e3fdd88a0ebc4314a1ed3d42.tar.gz qemu-fbd5c4c0db47e578e3fdd88a0ebc4314a1ed3d42.tar.xz qemu-fbd5c4c0db47e578e3fdd88a0ebc4314a1ed3d42.zip |
block/ssh: fix possible segmentation fault when .desc is not null-terminated
This patch prevents a possible segmentation fault when .desc members are checked
against NULL.
The ssh_runtime_opts was added by commit
8a6a80896d6af03b8ee0c17cdf37219eca2588a7 ("block/ssh: Use QemuOpts for runtime
options").
This fix was inspired by
http://lists.nongnu.org/archive/html/qemu-devel/2018-01/msg00883.html.
Fixes: 8a6a80896d6af03b8ee0c17cdf37219eca2588a7 ("block/ssh: Use QemuOpts for runtime options")
Cc: Max Reitz <mreitz@redhat.com>
Cc: Eric Blake <eblake@redhat.com>
Signed-off-by: Murilo Opsfelder Araujo <muriloo@linux.vnet.ibm.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Signed-off-by: Jeff Cody <jcody@redhat.com>
Diffstat (limited to 'tests/qapi-schema/include-extra-junk.out')
0 files changed, 0 insertions, 0 deletions