Skip to content
Snippets Groups Projects
Commit 772a7369 authored by Jan Dakinevich's avatar Jan Dakinevich Committed by Greg Kurz
Browse files

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: default avatarJan Dakinevich <jan.dakinevich@gmail.com>
[groug, regression caused my commit 8d37de41 # 2.10]
Signed-off-by: default avatarGreg Kurz <groug@kaod.org>
parent 4d8bc733
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment