diff options
author | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2020-06-29 12:54:18 +0100 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2020-07-03 16:23:05 +0100 |
commit | b1288dfafbdfb64e86bf9cfa22fa0b399e44e198 (patch) | |
tree | 2982b4428733070f62392f9afe795116a78ba995 /.shippable.yml | |
parent | 6651620b92bc08cde07cb500e9a43dba7bd9b2b7 (diff) | |
download | qemu-b1288dfafbdfb64e86bf9cfa22fa0b399e44e198.zip qemu-b1288dfafbdfb64e86bf9cfa22fa0b399e44e198.tar.gz qemu-b1288dfafbdfb64e86bf9cfa22fa0b399e44e198.tar.bz2 |
virtiofsd: Terminate capability list
capng_updatev is a varargs function that needs a -1 to terminate it,
but it was missing.
In practice what seems to have been happening is that it's added the
capabilities we asked for, then runs into junk on the stack, so if
we're unlucky it might be adding some more, but in reality it's
failing - but after adding the capabilities we asked for.
Fixes: a59feb483b8 ("virtiofsd: only retain file system capabilities")
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
Message-Id: <20200629115420.98443-2-dgilbert@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to '.shippable.yml')
0 files changed, 0 insertions, 0 deletions