diff options
| author | Jan Dakinevich <jan.dakinevich@gmail.com> | 2017-09-20 08:48:52 +0200 |
|---|---|---|
| committer | Greg Kurz <groug@kaod.org> | 2017-09-20 08:48:52 +0200 |
| commit | 772a73692ecb52bace0cff6f95df62f59b8cabe0 (patch) | |
| tree | 64216246ad36d3af41ad089c18652301cfa62315 /hw/timer/mss-timer.c | |
| parent | 4d8bc7334b06ef01a21cad3d1eb8dc183037a06b (diff) | |
| download | focaccia-qemu-772a73692ecb52bace0cff6f95df62f59b8cabe0.tar.gz focaccia-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 'hw/timer/mss-timer.c')
0 files changed, 0 insertions, 0 deletions