diff options
| author | Jan Dakinevich | 2017-09-20 08:48:52 +0200 |
|---|---|---|
| committer | Greg Kurz | 2017-09-20 08:48:52 +0200 |
| commit | 772a73692ecb52bace0cff6f95df62f59b8cabe0 (patch) | |
| tree | 64216246ad36d3af41ad089c18652301cfa62315 /include | |
| parent | 9pfs: fix name_to_path assertion in v9fs_complete_rename() (diff) | |
| download | qemu-772a73692ecb52bace0cff6f95df62f59b8cabe0.tar.gz qemu-772a73692ecb52bace0cff6f95df62f59b8cabe0.tar.xz qemu-772a73692ecb52bace0cff6f95df62f59b8cabe0.zip | |
9pfs: check the size of transport buffer before marshaling
v9fs_do_readdir_with_stat() should check for a maximum buffer size
before an attempt to marshal gathered data. Otherwise, buffers assumed
as misconfigured and the transport would be broken.
The patch brings v9fs_do_readdir_with_stat() in conformity with
v9fs_do_readdir() behavior.
Signed-off-by: Jan Dakinevich <jan.dakinevich@gmail.com>
[groug, regression caused my commit 8d37de41cab1 # 2.10]
Signed-off-by: Greg Kurz <groug@kaod.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
