diff options
| author | Greg Kurz | 2016-11-01 12:00:40 +0100 |
|---|---|---|
| committer | Greg Kurz | 2016-11-01 12:03:02 +0100 |
| commit | 49dd946bb5419681c8668b09a6d10f42bc707b78 (patch) | |
| tree | 43a0720c4a525bbc2545c9c9dc64d0915e9b5006 /scripts | |
| parent | 9pfs: xattrcreate requires non-opened fids (diff) | |
| download | qemu-49dd946bb5419681c8668b09a6d10f42bc707b78.tar.gz qemu-49dd946bb5419681c8668b09a6d10f42bc707b78.tar.xz qemu-49dd946bb5419681c8668b09a6d10f42bc707b78.zip | |
9pfs: don't BUG_ON() if fid is already opened
A buggy or malicious guest could pass the id of an already opened fid and
cause QEMU to abort. Let's return EINVAL to the guest instead.
Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
