diff options
author | Dick Kennedy <dick.kennedy@broadcom.com> | 2020-08-03 14:02:27 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-08-04 20:56:57 -0400 |
commit | feb3cc57fb63a2b3d3254e8c8ca3fe776c767d38 (patch) | |
tree | 96e3b12ea1db3fc484ef497c4da1ca3d3f55787c /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 678768da988081a922b0645b9bd552f6cdd982cc (diff) |
scsi: lpfc: Fix validation of bsg reply lengths
There are a couple of code areas which validate sufficient reply buffer
length, but the checks are using the request elements rather than the reply
elements.
Rework to validate using the reply structures.
Link: https://lore.kernel.org/r/20200803210229.23063-7-jsmart2021@gmail.com
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions