aboutsummaryrefslogtreecommitdiff
path: root/default-configs
diff options
context:
space:
mode:
authorJan Dakinevich <jan.dakinevich@gmail.com>2017-09-20 08:48:52 +0200
committerGreg Kurz <groug@kaod.org>2017-09-20 08:48:52 +0200
commit772a73692ecb52bace0cff6f95df62f59b8cabe0 (patch)
tree64216246ad36d3af41ad089c18652301cfa62315 /default-configs
parent4d8bc7334b06ef01a21cad3d1eb8dc183037a06b (diff)
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 'default-configs')
0 files changed, 0 insertions, 0 deletions