diff options
| author | Greg Kurz | 2016-11-01 12:00:40 +0100 |
|---|---|---|
| committer | Greg Kurz | 2016-11-01 12:03:02 +0100 |
| commit | 3b79ef2cf48805dc693a8b0c82e05e0abeaa64f8 (patch) | |
| tree | 9c45ece6eeec3315250fd1e11bfc00d790c53956 /scripts | |
| parent | 9pfs: fix integer overflow issue in xattr read/write (diff) | |
| download | qemu-3b79ef2cf48805dc693a8b0c82e05e0abeaa64f8.tar.gz qemu-3b79ef2cf48805dc693a8b0c82e05e0abeaa64f8.tar.xz qemu-3b79ef2cf48805dc693a8b0c82e05e0abeaa64f8.zip | |
9pfs: limit xattr size in xattrcreate
We shouldn't allow guests to create extended attribute with arbitrary sizes.
On linux hosts, the limit is XATTR_SIZE_MAX. Let's use it.
Signed-off-by: Greg Kurz <groug@kaod.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
