diff options
author | Steve French <stfrench@microsoft.com> | 2021-07-01 17:46:23 -0500 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-07-02 18:36:23 -0500 |
commit | 819f916c835d0d022117ad97cb3a658546352ab8 (patch) | |
tree | 1ecf625c949cd8f461dc73811a7f93a9cc276a3e /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | 01cf30825c8729884090151ab97f1c9c5d14a8bc (diff) |
cifs: clarify SMB1 code for UnixCreateHardLink
Coverity complains about the way we calculate the offset
(starting from the address of a 4 byte array within the
header structure rather than from the beginning of the struct
plus 4 bytes). This doesn't change the address but
makes it slightly clearer.
Addresses-Coverity: 711529 ("Out of bounds read")
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions