diff options
author | 2015-06-16 09:13:33 -0400 | |
---|---|---|
committer | 2015-06-16 14:36:39 -0700 | |
commit | 56df900cb44d18c3ffaf16e09b83aaf37d912cc5 (patch) | |
tree | fbee1de66a2ee35d637cb7b27718c608e5c97caf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | staging: unisys: Add s-Par visornic ethernet driver (diff) | |
download | linux-dev-56df900cb44d18c3ffaf16e09b83aaf37d912cc5.tar.xz linux-dev-56df900cb44d18c3ffaf16e09b83aaf37d912cc5.zip |
staging: unisys: visorchannel_write() fix potential memory corruption
This fixes the memory corruption case, if nbytes is less than offset
and sizeof(struct channel_header)
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions