diff options
| author | Dominique Martinet <[email protected]> | 2022-11-18 13:44:41 +0000 |
|---|---|---|
| committer | Dominique Martinet <[email protected]> | 2022-11-23 05:01:27 +0000 |
| commit | 391c18cf776eb4569ecda1f7794f360fe0a45a26 (patch) | |
| tree | 10a3ffb03e458b1461069ff48257b6f72cfc4836 /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | 9p/fd: Use P9_HDRSZ for header size (diff) | |
| download | kernel-391c18cf776eb4569ecda1f7794f360fe0a45a26.tar.gz kernel-391c18cf776eb4569ecda1f7794f360fe0a45a26.zip | |
9p/xen: check logical size for buffer size
trans_xen did not check the data fits into the buffer before copying
from the xen ring, but we probably should.
Add a check that just skips the request and return an error to
userspace if it did not fit
Tested-by: Stefano Stabellini <[email protected]>
Reviewed-by: Christian Schoenebeck <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Dominique Martinet <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
